|
|
@@ -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元');
|
|
|
}
|
|
|
}
|
|
|
}
|