【类 型】:fix

【原  因】:分类显示 spu显示 过滤show字段
【过  程】:
【影  响】:
This commit is contained in:
air 2025-05-13 18:52:22 +08:00
parent b90117bfa2
commit 74e4c047be

View File

@ -18,6 +18,7 @@ class NormalController extends PublicController
public function getCategoryList()
{
$where['shop_id'] = $_REQUEST["shop_id"];
$where['show'] = '1';
$order['sort'] = 'desc';
$field = array('id', 'pid', 'path', 'name', 'shop_id', 'sort', 'show', 'describe', 'photo', 'tag');
$categoryDb = D('category');
@ -49,6 +50,7 @@ class NormalController extends PublicController
{
$where['shop_id'] = $_REQUEST["shop_id"];
$where['del'] = '0';
$where['show'] = '1';
$order['sort'] = 'desc';
$order['id'] = 'desc';
$spuDb = D('spu');