setter
parent
018c5e27eb
commit
7a316e843c
|
@ -921,7 +921,7 @@ class OrderRepository extends Repository
|
|||
|
||||
$accountId = $accountId == 0 ? $order['account_id'] : $accountId;
|
||||
|
||||
if (in_array($order['status'] ,[self::STATUS_SHIPPED,self::STATUS_ARRIVED])) {
|
||||
if (!in_array($order['status'] ,[self::STATUS_SHIPPED,self::STATUS_ARRIVED])) {
|
||||
throw new RepositoryException('当前订单状态不支持收货操作');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue