作者 lihan
1 个管道 的构建 通过 耗费 3 秒

物流地址

@@ -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 }