...
|
...
|
@@ -236,12 +236,13 @@ class HomeModel |
|
|
$val['price'] = $val['salePrice'];
|
|
|
}
|
|
|
//TODO 字段要调整
|
|
|
$val['tags']['isFew'] = $val['is_soon_sold_out'];
|
|
|
$val['tags']['isLimit'] = $val['tags']['is_discount'];
|
|
|
$val['tags']['is_discount'] = $val['is_soon_sold_out'];
|
|
|
$val['isFew'] = $val['is_soon_sold_out'];
|
|
|
$val['tags']['isLimit'] = $val['tags']['is_limited'];
|
|
|
$val['tags']['isSale'] = $val['tags']['is_discount'];
|
|
|
$val['tags']['isNew'] = false;//$val['tags']['is_new'];
|
|
|
$val['tags']['isYearMidPromotion'] = $val['tags']['midYear'];
|
|
|
$val['tags']['isYearEndPromotion'] = $val['tags']['yearEnd'];
|
|
|
$val['tags']['isReNew'] = $val['tags']['is_advance'];
|
|
|
unset($val['tags']['is_advance'], $val['tags']['is_discount'], $val['tags']['is_limited'], $val['tags']['is_new'],
|
|
|
$val['tags']['is_yohood'], $val['tags']['midYear'], $val['tags']['yearEnd']);
|
|
|
if (! empty($val)) {
|
...
|
...
|
|