master
wangxinglong 2022-06-02 16:11:55 +08:00
parent 018c5e27eb
commit 7a316e843c
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 (in_array($order['status'] ,[self::STATUS_SHIPPED,self::STATUS_ARRIVED])) {
if (!in_array($order['status'] ,[self::STATUS_SHIPPED,self::STATUS_ARRIVED])) {
throw new RepositoryException('当前订单状态不支持收货操作');
}