From 2e3a678b91d1ec66001e1205a18b879727b352b5 Mon Sep 17 00:00:00 2001 From: unknown <736250432@qq.com> Date: Tue, 5 Sep 2023 15:34:38 +0800 Subject: [PATCH] update --- app/api/logic/LogisticsLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index 71477b9d..705da1ec 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -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'=>'操作成功'];