修改前端

This commit is contained in:
小松树 committed 2021-03-06 21:57:07 +08:00
1 parent 4b5a6ac267
commit 45b1552c6f
40 files changed
+798 -1524

No files matched your search

+25
View File
@@ -236,4 +236,29 @@ class School extends AdminBase
// 返回信息
return json($data);
}
// 查询单位列表
public function srcSchool()
{
// 获取表单数据
$src = request()->only([
'low' => '班级'
,'high' => '其它级'
,'order' => 'asc'
], 'post');
// 实例化单位模型
$sch = new sch;
$data = $sch->srcJibie($src)
->visible([
'id'
,'title'
,'jiancheng'
]);
$data = reSetObject($data, $src);
return json($data);
}
}