修复学生登录筛选
This commit is contained in:
1 parent
45fee42b6f
commit
ac2539433a
8 files changed
+39
-26
No files matched your search
@@ -211,25 +211,5 @@ class Category extends AdminBase
|
||||
// 返回信息
|
||||
return json($data);
|
||||
}
|
||||
|
||||
|
||||
// 获取类别
|
||||
public function srcChildren()
|
||||
{
|
||||
// 获取表单数据
|
||||
$src = request()->only([
|
||||
'limit' => '100'
|
||||
,'p_id'
|
||||
], 'post');
|
||||
// 查询类别
|
||||
$category = new \app\system\model\Category;
|
||||
$data = $category->srcChild($src)
|
||||
->visible([
|
||||
'id'
|
||||
,'title'
|
||||
]);
|
||||
$data = reSetObject($data, $src);
|
||||
|
||||
return json($data);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user