From bb85cecae3784183cb070978d634325e8ff99688 Mon Sep 17 00:00:00 2001 From: wubiandaxian <49140684+wubiandaxian@users.noreply.github.com> Date: Wed, 2 Mar 2022 22:06:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=B8=A6=E9=97=AE=E5=8F=B7=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=9D=83=E9=99=90=E5=8C=B9=E9=85=8D=E4=B8=8D?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/AuthService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/service/AuthService.php b/app/common/service/AuthService.php index 07ab03eb..19ad56d8 100644 --- a/app/common/service/AuthService.php +++ b/app/common/service/AuthService.php @@ -197,6 +197,7 @@ public function getAdminInfo(){ */ public function parseNodeStr($node) { + $node = explode('?', $node)[0]; $array = explode('/', $node); foreach ($array as $key => $val) { if ($key == 0) { @@ -212,4 +213,4 @@ public function parseNodeStr($node) return $node; } -} \ No newline at end of file +}