Browse Source

add goods_promotion_price

stanley-king 9 years ago
parent
commit
012e95e28f
2 changed files with 1 additions and 2 deletions
  1. 0 1
      helper/goods_helper.php
  2. 1 1
      mobile/control/index.php

+ 0 - 1
helper/goods_helper.php

@@ -63,7 +63,6 @@ class goods_helper
             unset($goods_list[$key]['store_id']);
             unset($goods_list[$key]['nc_distinct']);
             unset($goods_list[$key]['gc_id']);
-            unset($goods_list[$key]['goods_marketprice']);
             unset($goods_list[$key]['goods_image']);
             unset($goods_list[$key]['goods_salenum']);
             unset($goods_list[$key]['evaluation_good_star']);

+ 1 - 1
mobile/control/index.php

@@ -219,7 +219,7 @@ class indexControl extends mobileHomeControl
         $goods_ids = $ret[$page_no - 1];
 
         //所需字段
-        $fieldstr = 'goods_id,goods_commonid,store_id,brand_id,gc_id,goods_name,goods_price,goods_marketprice,
+        $fieldstr = 'goods_id,goods_commonid,store_id,brand_id,gc_id,goods_name,goods_price,goods_marketprice,goods_promotion_price,
         goods_image,goods_salenum,evaluation_good_star,evaluation_count,goods_storage,goods_storage_alarm,is_virtual,is_presell,is_fcode,have_gift';
 
         $helper = new goods_helper();