权限管理完成

This commit is contained in:
小松树 committed 2019-04-10 10:41:51 +08:00
1 parent 9634b6886a
commit fa826e0c83
10 files changed
+290 -593

No files matched your search

-3
View File
@@ -33,9 +33,6 @@ class Category extends Base
// 查询数据
$data = $this
->order([$src['field'] =>$src['order']])
// ->when(strlen($src['xingzhi'])>0,function($query) use($xingzhi){
// $query->where('xingzhi','in',$xingzhi);
// })
->when(strlen($pid)>0,function($query) use($pid){
$query->whereOr('pid','in',$pid);
})