配送员取货后通知商超系统
This commit is contained in:
parent
c4be7fc22d
commit
e1a17a727b
@ -210,9 +210,6 @@ class LogisticsLogic extends BaseLogic
|
|||||||
'content' => '用户提交订单',
|
'content' => '用户提交订单',
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
]);
|
]);
|
||||||
//调用接口通知商超平台
|
|
||||||
$url = 'https://crmeb-test.shop.lihaink.cn/api/goods/take/'.$params['order_id'];
|
|
||||||
curl_post($url,[],['order_sn'=>$params['order_sn']]);
|
|
||||||
Logistics::commit();
|
Logistics::commit();
|
||||||
return ['code'=>1, 'msg'=>'操作成功','data'=>$courierInfo];
|
return ['code'=>1, 'msg'=>'操作成功','data'=>$courierInfo];
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
@ -262,6 +259,9 @@ class LogisticsLogic extends BaseLogic
|
|||||||
'content' => '已提取商品',
|
'content' => '已提取商品',
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
]);
|
]);
|
||||||
|
//调用接口通知商超平台
|
||||||
|
$url = 'https://crmeb-test.shop.lihaink.cn/api/goods/take/'.$params['order_id'];
|
||||||
|
curl_post($url,[],['order_sn'=>$params['order_sn']]);
|
||||||
Logistics::commit();
|
Logistics::commit();
|
||||||
return ['code'=>1, 'msg'=>'操作成功'];
|
return ['code'=>1, 'msg'=>'操作成功'];
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user