更新发生物流信息
This commit is contained in:
parent
a02db34d4d
commit
c8fb47bba5
@ -2648,7 +2648,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
if (!$order)
|
||||
throw new ValidateException('订单不存在或编码code错误');
|
||||
if ($order['order_type'])
|
||||
throw new ValidateException('订单状态有误');
|
||||
throw new ValidateException('订单类型错误');
|
||||
|
||||
if ($logisticsCode) {
|
||||
$order->status = 2;
|
||||
|
@ -138,7 +138,7 @@ class paySuccessOrder
|
||||
DingTalk::exception($e, '订单分润出错');
|
||||
//发起物流信息返回快递员手机
|
||||
$logisticsPhone = $this->sendLogistics($this->event['order']['order_id'], $this->event['order']['order_sn']);
|
||||
//生成用户的收货码、发生短信包含收货码
|
||||
//生成用户的收货码
|
||||
$this->generateLogisticsCode($this->event['order']['uid'], $this->event['order']['order_id'], $this->event['order']['order_sn'], $logisticsPhone);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user