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

+ 14 - 13
app-hd/controllers/PurchaseController.php

@@ -674,19 +674,20 @@ class PurchaseController extends BaseController
 //                        }
 //                        }
 //                    }
 //                    }
 
 
-                    if ($ghsShopId == 36523) {
-                        if ($respond->actPrice < 50 || $respond->bigNum < 10) {
-                            $hasMust = array_intersect($ids, [85295]);
-                            if (empty($hasMust)) {
-                                util::fail('没满50元且满10扎,请运费必选商品');
-                            }
-                        }
-                        // 按当天计时,把 sendTimeWant 要限制在两天的时间范围之内
-                        $future = date("Y-m-d", strtotime('+2 day'));
-                        if (strtotime($respond->sendTimeWant) > strtotime($future)) {
-                            util::fail('配送日期只能选最近二天');
-                        }
-                    }
+//                    if ($ghsShopId == 36523) {
+//                        if ($respond->actPrice < 50 || $respond->bigNum < 10) {
+//                            $hasMust = array_intersect($ids, [85295]);
+//                            if (empty($hasMust)) {
+//                                util::fail('没满50元且满10扎,请运费必选商品');
+//                            }
+//                        }
+//                        // 按当天计时,把 sendTimeWant 要限制在两天的时间范围之内
+//                        $future = date("Y-m-d", strtotime('+2 day'));
+//                        if (strtotime($respond->sendTimeWant) > strtotime($future)) {
+//                            util::fail('配送日期只能选最近二天');
+//                        }
+//                    }
+
                 }
                 }
 
 
                 if (isset($ghsInfo['home'])) {
                 if (isset($ghsInfo['home'])) {