mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-04 21:03:27 +08:00
分类优化
This commit is contained in:
@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user