修复学生登录筛选

This commit is contained in:
东宝书记 committed 2021-05-23 11:16:50 +08:00
1 parent 45fee42b6f
commit ac2539433a
8 files changed
+39 -26

No files matched your search

+1 -21
View File
@@ -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);
}
}