shish 4 лет назад
Родитель
Сommit
6ecc280062
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      app-hd/controllers/PurchaseController.php

+ 6 - 6
app-hd/controllers/PurchaseController.php

@@ -104,12 +104,12 @@ class PurchaseController extends BaseController
         $info = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
         PurchaseService::valid($info, $this->shopId);
 
-        if ($info->status == 5) {
-            util::fail('订单已取消');
-        }
-        if ($info->status == 1) {
-            util::fail('订单不是待付款状态');
-        }
+//        if ($info->status != 5) {
+//            util::fail('订单已取消');
+//        }
+//        if ($info->status != 1) {
+//            util::fail('订单不是待付款状态');
+//        }
 
         $ghsId = $info->ghsId;
         $ghs = GhsClass::getGhsInfo($ghsId);