分类优化

feat/task1-c-wallet
devil_gong 2019-08-01 16:32:45 +08:00
parent 1f96427c59
commit edea1f4114
1 changed files with 0 additions and 1 deletions

View File

@ -186,7 +186,6 @@ class GoodsService
foreach($goods_category as &$v)
{
$category_ids = self::GoodsCategoryItemsIds([$v['id']], 1);
print_r($category_ids);
$goods = self::CategoryGoodsList(['where'=>['gci.category_id'=>$category_ids, 'g.is_home_recommended'=>1, 'g.is_shelves'=>1], 'm'=>0, 'n'=>8, 'field'=>'g.*']);
$v['goods'] = $goods['data'];
}