diff --git a/app/login/controller/Student.php b/app/login/controller/Student.php index ee2b4d3c..17c88636 100644 --- a/app/login/controller/Student.php +++ b/app/login/controller/Student.php @@ -138,12 +138,4 @@ class Student } return $data; } - - - - - - - - } diff --git a/app/login/view/index/index.html b/app/login/view/index/index.html index 80521f5b..d1d56dcf 100644 --- a/app/login/view/index/index.html +++ b/app/login/view/index/index.html @@ -31,23 +31,27 @@ -
+
{$list['webtitle']} {$list['version']}

+
+
+ + + +

-

- 学生入口 - 教师入口 - +
+
推荐使用Firefox、Chrome浏览器
diff --git a/database/migrations/20200616052125_teacher_zhiwu.php b/database/migrations/20200616052125_teacher_zhiwu.php index 0b6ac750..eccd4936 100644 --- a/database/migrations/20200616052125_teacher_zhiwu.php +++ b/database/migrations/20200616052125_teacher_zhiwu.php @@ -33,7 +33,7 @@ class TeacherZhiwu extends Migrator // 添加当前表字段 $table - ->addColumn('teacherid','integer',['limit'=>11,'default'=>0,'null'=>false,'comment'=>'教师ID']) + ->addColumn('teacher_id','integer',['limit'=>11,'default'=>0,'null'=>false,'comment'=>'教师ID']) ->addColumn('zhiwu_id','integer',['limit'=>11,'null'=>true,'comment'=>'职务']) ->addColumn('create_time','integer',['limit'=>11,'default'=>'1539158918','null'=>false,'comment'=>'创建时间']) diff --git a/database/migrations/20200911063240_ban_zhu_ren.php b/database/migrations/20200911063240_ban_zhu_ren.php new file mode 100644 index 00000000..27ea7e31 --- /dev/null +++ b/database/migrations/20200911063240_ban_zhu_ren.php @@ -0,0 +1,45 @@ +table('ban_zhu_ren'); + + // 添加当前表字段 + $table + ->addColumn('teacher_id','integer',['limit'=>11,'default'=>0,'null'=>false,'comment'=>'教师ID']) + ->addColumn('zhiwu_id','integer',['limit'=>11,'null'=>true,'comment'=>'职务']) + + ->addColumn('create_time','integer',['limit'=>11,'default'=>'1539158918','null'=>false,'comment'=>'创建时间']) + ->addColumn('update_time','integer',['limit'=>11,'default'=>'1539158918','null'=>false,'comment'=>'更新时间']) + ->addColumn('delete_time','integer',['limit'=>11,'null'=>true,'comment'=>'删除时间']) + ->addColumn('beizhu','string',['limit'=>80,'null'=>true,'comment'=>'备注']) + ->create(); + } +}