status to shop

This commit is contained in:
luofei 2023-08-12 09:37:07 +08:00
parent 61e920c1dd
commit 544c8a4fe0

View File

@ -312,6 +312,9 @@ class LogisticsLogic extends BaseLogic
'content' => '已完成配送',
'create_time' => time(),
]);
//调用接口通知商超平台
$url = 'https://crmeb-test.shop.lihaink.cn/api/goods/take/'.$logistics['order_id'];
curl_post($url,[],['order_sn'=>$params['order_sn'],'logistics_code'=>$params['take_code']]);
Logistics::commit();
return ['code'=>1, 'msg'=>'操作成功'];
} catch (\Exception $e) {