|
|
@@ -122,8 +122,8 @@ class PurchaseController extends BaseController
|
|
|
$colorData = json_decode($colorItem, true);
|
|
|
if (!empty($colorData) && is_array($colorData)) {
|
|
|
foreach ($colorData as $colorInfo) {
|
|
|
- $ptItemId = $colorInfo['ptItemId']??0;
|
|
|
- $colorList = $colorInfo['list']??[];
|
|
|
+ $ptItemId = $colorInfo['ptItemId'] ?? 0;
|
|
|
+ $colorList = $colorInfo['list'] ?? [];
|
|
|
if (!empty($colorList)) {
|
|
|
foreach ($colorList as $colorItemKey => $colorItem) {
|
|
|
$newXj[$ptItemId][] = $colorItem;
|
|
|
@@ -279,6 +279,10 @@ class PurchaseController extends BaseController
|
|
|
util::fail('满500元支持免费配送');
|
|
|
}
|
|
|
}
|
|
|
+ //花悠星暂时不支持免费配送
|
|
|
+ if ($ghsShopId == 7687) {
|
|
|
+ util::fail('暂不支持免费送货,请选其它方式');
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|