diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index 0411c34b..aea171b3 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -293,7 +293,7 @@ class LogisticsLogic extends BaseLogic return ['code'=>0, 'msg'=>'订单已被取消']; } //验证取件码 - if($logistics['receiver_take_code'] !== $params['take_code']) return ['code'=>0, 'msg'=>'取件码错误']; + if($logistics['receiver_take_code'] != $params['take_code']) return ['code'=>0, 'msg'=>'取件码错误']; //更改物流信息状态 Logistics::startTrans(); try {