From 77433ed601b18a39034e0594b9008c3f184eec63 Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 20 Apr 2022 20:07:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9F=BA=E7=A1=80=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/AuthService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/AuthService.php b/app/common/service/AuthService.php index 76d7287..2f2c4a3 100644 --- a/app/common/service/AuthService.php +++ b/app/common/service/AuthService.php @@ -142,7 +142,7 @@ class AuthService $nodeList = []; $adminInfo = $this->getAdminInfo(); - if ($adminInfo['status'] != 1) { + if (!empty($adminInfo) && $adminInfo['status'] != 1) { return $nodeList; }