This commit is contained in:
unknown 2023-09-05 15:34:38 +08:00
parent 6c074f18b0
commit 2e3a678b91

View File

@ -280,7 +280,7 @@ class LogisticsLogic extends BaseLogic
'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']]);
Logistics::commit();
return ['code'=>1, 'msg'=>'操作成功'];
@ -327,7 +327,7 @@ class LogisticsLogic extends BaseLogic
'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']]);
Logistics::commit();
return ['code'=>1, 'msg'=>'操作成功'];