合并用户登录界面

This commit is contained in:
win10 committed 2020-09-14 15:03:24 +08:00
1 parent 53615988c8
commit fd7a567f1c
27 files changed
+256 -778

No files matched your search

+11 -1
View File
@@ -15,6 +15,16 @@ abstract class StudentSearchBase extends BaseController
*/
protected $middleware = [
'online'
,'stulogin'
,'login'
];
// 初始化变量
protected function initialize()
{
$this->online = session('onlineCategory');
if($this->online != 'student')
{
\app\facade\OnLine::jump('/login', '请使用学生帐号登录');
}
}
}