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

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

@@ -545,15 +545,13 @@ class PurchaseController extends BaseController
                         util::fail('不足15扎,请联系店长');
                         util::fail('不足15扎,请联系店长');
                     }
                     }
                 }
                 }
-                //合作共赢 只有满3扎才有送货上门
-                if ($ghsShopId == 44083) {
-                    if ($respond->bigNum < 3 && $respond->sendType == 0) {
+                //盛丰最少要20扎
+                if ($ghsShopId == 44556) {
+                    if ($respond->bigNum < 20) {
                         $transaction->rollBack();
                         $transaction->rollBack();
-                        //util::fail('送货上门,最少要3扎');
+                        util::fail('最少要20扎');
                     }
                     }
                 }
                 }
-            }else{
-
             }
             }
 
 
             $transaction->commit();
             $transaction->commit();