master
wangxinglong 2022-06-02 16:08:24 +08:00
parent f51c2ec764
commit 018c5e27eb
1 changed files with 1 additions and 1 deletions

View File

@ -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('当前订单状态不支持收货操作');
}