Просмотр исходного кода

商户后台-订单列表-增加手动确认收货关单功能

sunxbiao 1 год назад
Родитель
Сommit
591cd17a94
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      app/common/repositories/store/order/StoreOrderRepository.php

+ 0 - 2
app/common/repositories/store/order/StoreOrderRepository.php

@@ -5370,8 +5370,6 @@ class StoreOrderRepository extends BaseRepository
5370 5370
             throw new ValidateException('提货码错误~');
5371 5371
         if (!$order->paid)
5372 5372
             throw new ValidateException('订单未支付');
5373
-        if ($order->status != 1)
5374
-            throw new ValidateException('订单已核销');
5375 5373
         $order->status = 2;
5376 5374
         $order->verify_time = date('Y-m-d H:i:s');
5377 5375
         $order->verify_service_id = $serviceId;