From b777cdbdb3258ac136673b8f060d2b6506aa7bfe Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Tue, 12 May 2026 10:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=8F=9C=E5=8D=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=AF=B7=E6=B1=82=E6=9D=83=E9=99=908?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Middleware/CheckPermission.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/CheckPermission.php b/app/Http/Middleware/CheckPermission.php index 4e2b29b..ddf87b1 100644 --- a/app/Http/Middleware/CheckPermission.php +++ b/app/Http/Middleware/CheckPermission.php @@ -53,7 +53,7 @@ class CheckPermission } $methodArr = ['create', 'edit']; - $actionArr = explode('/', trim($action)); + $actionArr = explode('.', trim($action)); $method = $actionArr[1] ?? ''; $newAction = $actionArr[0] ?? '';