教师列表ing

This commit is contained in:
cxdbz committed 2019-04-12 22:02:06 +08:00
1 parent 09530e9dbf
commit 687e086c31
13 files changed
+335 -558

No files matched your search

+3 -5
View File
@@ -17,13 +17,11 @@ class Student extends Base
public function index()
{
// 设置数据总数
$list['count'] = STU::count();
// 设置页面标题
$list['title'] = '学生列表';
// 设置要给模板赋值的信息
$list['webtitle'] = '学生列表';
// 模板赋值
$this->assign('list', $list);
$this->assign('list',$list);
// 渲染模板
return $this->fetch();