mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
优化基础逻辑;
This commit is contained in:
@@ -142,7 +142,7 @@ class AuthService
|
|||||||
$nodeList = [];
|
$nodeList = [];
|
||||||
$adminInfo = $this->getAdminInfo();
|
$adminInfo = $this->getAdminInfo();
|
||||||
|
|
||||||
if ($adminInfo['status'] != 1) {
|
if (!empty($adminInfo) && $adminInfo['status'] != 1) {
|
||||||
return $nodeList;
|
return $nodeList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user