shish 3 ay önce
ebeveyn
işleme
a649b11c1f
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      app-hd/controllers/PurchaseController.php

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

@@ -712,7 +712,7 @@ class PurchaseController extends BaseController
                 if ($ghsShopId == 91115) {
                     if ($respond->actPrice < 100) {
                         $transaction->rollBack();
-                        $hasMust = array_intersect($ids, [4449812]);
+                        $hasMust = array_intersect($ids, [4449812, 4449811]);
                         if (empty($hasMust)) {
                             util::fail('不满100,必选商品 补运费10元');
                         }
@@ -724,7 +724,7 @@ class PurchaseController extends BaseController
                 if ($ghsShopId == 91115) {
                     if ($respond->actPrice < 100) {
                         $transaction->rollBack();
-                        $hasMust = array_intersect($ids, [4449812]);
+                        $hasMust = array_intersect($ids, [4449812, 4449811]);
                         if (empty($hasMust)) {
                             util::fail('不满100,必选商品 补运费10元');
                         }
@@ -732,13 +732,13 @@ class PurchaseController extends BaseController
                 }
             }
             if ($sendType == 3) {
-                //温州易批花,物流,不满200,要选20元的补运费商品
+                //温州易批花,物流,不满200,要选10元的补运费商品
                 if ($ghsShopId == 91115) {
                     if ($respond->actPrice < 200) {
                         $transaction->rollBack();
-                        $hasMust = array_intersect($ids, [4449811]);
+                        $hasMust = array_intersect($ids, [4449812, 4449811]);
                         if (empty($hasMust)) {
-                            util::fail('不满200,必选商品 补运费20元');
+                            util::fail('不满200,必选商品 补运费10元');
                         }
                     }
                 }