diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index ed9bab91..78b050f8 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -314,7 +314,7 @@ class LogisticsLogic extends BaseLogic ]); //调用接口通知商超平台 $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']]); + curl_post($url,[],['order_sn'=>$logistics['order_sn'],'logistics_code'=>$params['take_code']]); Logistics::commit(); return ['code'=>1, 'msg'=>'操作成功']; } catch (\Exception $e) {