From e03fcd3216c4195f086618f12b233102b10d608c Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Thu, 14 May 2026 15:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E6=8A=A5=E6=B6=88=E6=81=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=AE=BE=E5=AE=9A=E6=95=B0=E6=8D=AE=E8=BF=94=E5=9B=9E?= =?UTF-8?q?4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Middleware/CheckPermission.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Middleware/CheckPermission.php b/app/Http/Middleware/CheckPermission.php index c13b638..698120f 100644 --- a/app/Http/Middleware/CheckPermission.php +++ b/app/Http/Middleware/CheckPermission.php @@ -84,6 +84,8 @@ class CheckPermission $newAction .= '.store'; } elseif($method == $methodArr[1]) { $newAction .= '.update'; + } else { + $newAction .= '.index'; } if (in_array($newAction, $uriArr)) {