|
@@ -35,11 +35,13 @@ class ProductService extends BaseService
|
|
|
if (isset($v['presell']) && $v['presell'] == 1) {
|
|
if (isset($v['presell']) && $v['presell'] == 1) {
|
|
|
$v['classId'] = self::PRESELL_CLASS_ID;
|
|
$v['classId'] = self::PRESELL_CLASS_ID;
|
|
|
$v['className'] = '预售专区';
|
|
$v['className'] = '预售专区';
|
|
|
|
|
+ $v['userPrice'] = 0;
|
|
|
$preSellItem[] = $v;
|
|
$preSellItem[] = $v;
|
|
|
$itemGroup[] = $v;
|
|
$itemGroup[] = $v;
|
|
|
} elseif (isset($v['discountPrice']) && $v['discountPrice'] > 0) {
|
|
} elseif (isset($v['discountPrice']) && $v['discountPrice'] > 0) {
|
|
|
$v['classId'] = self::TJ_CLASS_ID;
|
|
$v['classId'] = self::TJ_CLASS_ID;
|
|
|
$v['className'] = '今日特价';
|
|
$v['className'] = '今日特价';
|
|
|
|
|
+ $v['userPrice'] = 0;
|
|
|
$tjItem[] = $v;
|
|
$tjItem[] = $v;
|
|
|
$itemGroup[] = $v;
|
|
$itemGroup[] = $v;
|
|
|
}
|
|
}
|
|
@@ -75,6 +77,7 @@ class ProductService extends BaseService
|
|
|
$v['classId'] = $classId;
|
|
$v['classId'] = $classId;
|
|
|
$v['className'] = $className;
|
|
$v['className'] = $className;
|
|
|
$v['print'] = $print;
|
|
$v['print'] = $print;
|
|
|
|
|
+ $v['userPrice'] = 0;
|
|
|
$tmp['child'][] = $v;
|
|
$tmp['child'][] = $v;
|
|
|
$itemGroup[] = $v;
|
|
$itemGroup[] = $v;
|
|
|
}
|
|
}
|