diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 2448910e..8ff95c57 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -339,17 +339,10 @@ class ShopController extends BaseAuthedController { } } - $freeNum = 0; - if (!empty($goodsMeta['free_type'])) { - //$count = $this->countFreeBuyTimes($goods['free_type'], $goods['id'], $goods['goods_id']); - //$goodsMe['free_num'] = $goods['free_num'] - $count; - } else { - //$goods['free_num'] = 0; - } $this->_rspData( array( 'items' => array_keys($record), - 'free_num' => $freeNum, + 'free_num' => 0, ) ); }