diff --git a/app/common/repositories/store/order/StoreOrderRepository.php b/app/common/repositories/store/order/StoreOrderRepository.php index f27fc8cc..c2b90fc5 100644 --- a/app/common/repositories/store/order/StoreOrderRepository.php +++ b/app/common/repositories/store/order/StoreOrderRepository.php @@ -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; diff --git a/app/listener/paySuccessOrder.php b/app/listener/paySuccessOrder.php index faef9f86..84c408b7 100644 --- a/app/listener/paySuccessOrder.php +++ b/app/listener/paySuccessOrder.php @@ -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); } }