合并用户登录界面
This commit is contained in:
1 parent
53615988c8
commit
fd7a567f1c
27 files changed
+256
-778
No files matched your search
@@ -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', '请使用学生帐号登录');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user