From 328e54fed558aab2d82f3edb7d8646664c303465 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Tue, 12 Sep 2023 09:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=B8=93=E5=8C=BA=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E7=99=BB=E9=99=86=E5=8F=AF=E4=BB=A5=E8=AE=BF?= =?UTF-8?q?=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Zone.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/controller/Zone.php b/app/controller/Zone.php index 4ddb6b6..db3fa6b 100644 --- a/app/controller/Zone.php +++ b/app/controller/Zone.php @@ -17,7 +17,11 @@ use think\facade\Session; class Zone extends BaseController { - protected $middleware = [CheckUser::class]; + protected $middleware = [ + CheckUser::class => [ + 'only' => ['zoneList'] + ] + ]; /** * 首页专区列表