更新中台商城接口

This commit is contained in:
yaooo 2023-12-04 16:57:25 +08:00
parent fe8d809364
commit 9d9b9d02e1
1 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,16 @@ class MerchantController extends BaseAdminController
return json($result);
}
public function cityGetStreet(): Json
{
$params=$this->request->get();
$result = curl_post($this->shopUrl . '/middle/merchant/city/get_street',$params,$this->reqHeader);
if(($result['status'] ?? 500) != 200){
return $this->fail($result['message'] ?? '非法请求');
}
return json($result);
}
public function count(): Json
{
$params=$this->request->get();