mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update Plugs.php
This commit is contained in:
parent
b094b8149e
commit
9811eb1d01
@ -25,13 +25,8 @@ use library\File;
|
||||
class Plugs extends Controller
|
||||
{
|
||||
|
||||
/**
|
||||
* Plugs constructor.
|
||||
* @throws \think\Exception
|
||||
*/
|
||||
public function __construct()
|
||||
protected function initialize()
|
||||
{
|
||||
parent::__construct();
|
||||
if (!\app\admin\service\AuthService::isLogin()) {
|
||||
$this->error('访问授权失败,请重新登录授权再试!');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user