取消栏目权限限制

master
yin5th 2022-10-15 16:57:42 +08:00
parent 5054d503d9
commit 4ea0fd60a2
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class Category extends Base
->leftJoin('model m', 'c.model_id=m.id')
->field('c.*, m.manager, m.name as modelName')
->when($limit, function ($query) use ($cates) {
$query->whereIn('c.id', $cates);
// $query->whereIn('c.id', $cates);
})
->order('sort', 'asc')
->select()