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