正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -23,7 +23,7 @@ class GoodsController extends HomeBaseController | @@ -23,7 +23,7 @@ class GoodsController extends HomeBaseController | ||
23 | if (!empty($goodsList)) { | 23 | if (!empty($goodsList)) { |
24 | foreach ($goodsList as $item) { | 24 | foreach ($goodsList as $item) { |
25 | if ($item['caid'] == 2) { | 25 | if ($item['caid'] == 2) { |
26 | - $integral = '购买可获得' . $item['price'] * 2 . '积分'; | 26 | + $integral = '购买可获得' . $item['price'] * 1.5 . '积分'; |
27 | } else { | 27 | } else { |
28 | $integral = '该商品无积分奖励'; | 28 | $integral = '该商品无积分奖励'; |
29 | } | 29 | } |
@@ -75,7 +75,7 @@ class GoodsController extends HomeBaseController | @@ -75,7 +75,7 @@ class GoodsController extends HomeBaseController | ||
75 | $data['photo'][$k]['photo'] = cmf_get_image_url($v['url']); | 75 | $data['photo'][$k]['photo'] = cmf_get_image_url($v['url']); |
76 | } | 76 | } |
77 | if ($data['caid'] == 2) { | 77 | if ($data['caid'] == 2) { |
78 | - $data['integral'] = '购买可获得' . $data['price'] * 2 . '积分'; | 78 | + $data['integral'] = '购买可获得' . $data['price'] * 1.5 . '积分'; |
79 | } else { | 79 | } else { |
80 | $data['integral'] = '该商品无积分奖励'; | 80 | $data['integral'] = '该商品无积分奖励'; |
81 | } | 81 | } |
-
请 注册 或 登录 后发表评论