更新发生物流信息

This commit is contained in:
yaooo 2023-08-12 09:58:33 +08:00
parent a02db34d4d
commit c8fb47bba5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);
}
}