|
|
@@ -633,7 +633,7 @@ class PurchaseController extends BaseController
|
|
|
} else {
|
|
|
|
|
|
// xhShMethod 门店:下单前按配置写入不满最低消费时的附加包装费/运费,关键词 sh_method_area
|
|
|
- $newShMethod = dict::getDict('newShMethod');
|
|
|
+ $newShMethod = dict::getNewMethodShop();
|
|
|
if (in_array($ghsShopId, $newShMethod)) {
|
|
|
$shMethodBigNum = 0;
|
|
|
foreach ($productList as $itemData) {
|
|
|
@@ -731,7 +731,7 @@ class PurchaseController extends BaseController
|
|
|
|
|
|
$respond = PurchaseService::createPurchase($post, $ghsInfo);
|
|
|
|
|
|
- $newShMethod = dict::getDict('newShMethod');
|
|
|
+ $newShMethod = dict::getNewMethodShop();
|
|
|
if (in_array($ghsShopId, $newShMethod)) {
|
|
|
// 使用 xhShMethod 配置校验配送限制,替代旧版门店硬编码规则,关键词 sh_method_area
|
|
|
$shMethodError = ShMethodClass::checkLimit(
|