From aba1baff88d0a04a39523177d20a91ba88aeb7eb Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 23 八月 2024 09:12:23 +0800 Subject: [PATCH] 2.0bug修改 --- ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java b/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java index ad068ae..e79e104 100644 --- a/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java +++ b/ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java @@ -160,6 +160,7 @@ * */ Map<String, String> hashMap = new LinkedHashMap<>(); + hashMap.put("/base/**", "anon"); hashMap.put("/static/**", "anon"); hashMap.put("/gunsApi/**", "anon"); hashMap.put("/login", "anon"); -- Gitblit v1.7.1