shish 1 éve
szülő
commit
5ba0885b19
1 módosított fájl, 2 hozzáadás és 6 törlés
  1. 2 6
      app-ghs/controllers/OrderController.php

+ 2 - 6
app-ghs/controllers/OrderController.php

@@ -1467,15 +1467,11 @@ class OrderController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             if($this->mainId == 1082){
                 //泉城鲜花批发的出车,只能开收现金方式,多处要修改,关键词qc_cash
-                if($hasPay != 0){
-                    util::fail('只能使用扫码付款');
-                }
+                util::fail('只能使用扫码付款');
             }
         }else{
             if($this->mainId == 644){
-                if($hasPay != 0){
-                    util::fail('只能使用扫码付款');
-                }
+                util::fail('只能使用扫码付款');
             }
         }