分类优化
parent
1f96427c59
commit
edea1f4114
|
|
@ -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'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue