【类 型】:fix
【原 因】:分类显示 spu显示 过滤show字段 【过 程】: 【影 响】:
This commit is contained in:
parent
b90117bfa2
commit
74e4c047be
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user