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