...
|
...
|
@@ -580,7 +580,7 @@ class Helpers |
|
|
//gift=>是否赠品,advanceBuy=>是否加价购,soldOut=>失效商品;
|
|
|
if (!isset($value['goods_type'])) {
|
|
|
$oneGoods['isSoldOut'] = true;
|
|
|
} elseif ($value['goods_type'] == 'gift') {
|
|
|
} elseif ($value['goods_type'] == 'gift' && !isset($value['isAdvanceBuy'])) {
|
|
|
$oneGoods['isGift'] = true;
|
|
|
} elseif ($value['goods_type'] == 'price_gift') {
|
|
|
$oneGoods['isAdvanceBuy'] = true;
|
...
|
...
|
|