diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index 121dc1af..ed9bab91 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -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) {