【类 型】:factor
【原 因】:分类列表添加tag字段 用于前端导航时跳转 【过 程】: 【影 响】:
This commit is contained in:
parent
00196c7299
commit
b90117bfa2
@ -19,7 +19,7 @@ class NormalController extends PublicController
|
||||
{
|
||||
$where['shop_id'] = $_REQUEST["shop_id"];
|
||||
$order['sort'] = 'desc';
|
||||
$field = array('id', 'pid', 'path', 'name', 'shop_id', 'sort', 'show', 'describe', 'photo');
|
||||
$field = array('id', 'pid', 'path', 'name', 'shop_id', 'sort', 'show', 'describe', 'photo', 'tag');
|
||||
$categoryDb = D('category');
|
||||
if ($categoryList = $categoryDb->where($where)->order($order)->field($field)->select()) {
|
||||
echo json_encode(array('status' => 1, 'msg' => '访问成功', "categoryList" => $categoryList));
|
||||
|
Loading…
Reference in New Issue
Block a user