mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +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
|
class Plugs extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
protected function initialize()
|
||||||
* Plugs constructor.
|
|
||||||
* @throws \think\Exception
|
|
||||||
*/
|
|
||||||
public function __construct()
|
|
||||||
{
|
{
|
||||||
parent::__construct();
|
|
||||||
if (!\app\admin\service\AuthService::isLogin()) {
|
if (!\app\admin\service\AuthService::isLogin()) {
|
||||||
$this->error('访问授权失败,请重新登录授权再试!');
|
$this->error('访问授权失败,请重新登录授权再试!');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user