更新中台商城接口
This commit is contained in:
parent
fe8d809364
commit
9d9b9d02e1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue