update
This commit is contained in:
parent
6c074f18b0
commit
2e3a678b91
@ -280,7 +280,7 @@ class LogisticsLogic extends BaseLogic
|
|||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
]);
|
]);
|
||||||
//调用接口通知商超平台
|
//调用接口通知商超平台
|
||||||
$url = 'https://crmeb-test.shop.lihaink.cn/api/goods/take/'.$params['order_id'];
|
$url = env('project.shop_notify_domain').'/api/goods/take/'.$params['order_id'];
|
||||||
curl_post($url,[],['order_sn'=>$params['order_sn']]);
|
curl_post($url,[],['order_sn'=>$params['order_sn']]);
|
||||||
Logistics::commit();
|
Logistics::commit();
|
||||||
return ['code'=>1, 'msg'=>'操作成功'];
|
return ['code'=>1, 'msg'=>'操作成功'];
|
||||||
@ -327,7 +327,7 @@ class LogisticsLogic extends BaseLogic
|
|||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
]);
|
]);
|
||||||
//调用接口通知商超平台
|
//调用接口通知商超平台
|
||||||
$url = 'https://crmeb-test.shop.lihaink.cn/api/goods/take/'.$logistics['order_id'];
|
$url = env('project.shop_notify_domain').'/api/goods/take/'.$logistics['order_id'];
|
||||||
curl_post($url,[],['order_sn'=>$logistics['order_sn'],'logistics_code'=>$params['take_code']]);
|
curl_post($url,[],['order_sn'=>$logistics['order_sn'],'logistics_code'=>$params['take_code']]);
|
||||||
Logistics::commit();
|
Logistics::commit();
|
||||||
return ['code'=>1, 'msg'=>'操作成功'];
|
return ['code'=>1, 'msg'=>'操作成功'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user