...
|
...
|
@@ -23,7 +23,7 @@ class GoodsController extends HomeBaseController |
|
|
if (!empty($goodsList)) {
|
|
|
foreach ($goodsList as $item) {
|
|
|
if ($item['caid'] == 2) {
|
|
|
$integral = '购买可获得' . $item['price'] * 2 . '积分';
|
|
|
$integral = '购买可获得' . $item['price'] * 1.5 . '积分';
|
|
|
} else {
|
|
|
$integral = '该商品无积分奖励';
|
|
|
}
|
...
|
...
|
@@ -75,7 +75,7 @@ class GoodsController extends HomeBaseController |
|
|
$data['photo'][$k]['photo'] = cmf_get_image_url($v['url']);
|
|
|
}
|
|
|
if ($data['caid'] == 2) {
|
|
|
$data['integral'] = '购买可获得' . $data['price'] * 2 . '积分';
|
|
|
$data['integral'] = '购买可获得' . $data['price'] * 1.5 . '积分';
|
|
|
} else {
|
|
|
$data['integral'] = '该商品无积分奖励';
|
|
|
}
|
...
|
...
|
|