From 4e797d4e833556471599c3f474d9c4be6e19e00a Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 31 Oct 2022 18:08:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renren/modules/security/config/ShiroConfig.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/security/config/ShiroConfig.java b/renren-admin/src/main/java/io/renren/modules/security/config/ShiroConfig.java index 4ec2e23d..47656484 100644 --- a/renren-admin/src/main/java/io/renren/modules/security/config/ShiroConfig.java +++ b/renren-admin/src/main/java/io/renren/modules/security/config/ShiroConfig.java @@ -82,10 +82,17 @@ public class ShiroConfig { filterMap.put("/upload", "anon"); filterMap.put("/upload/**", "anon"); filterMap.put("/census/center/v3/**", "oauth2"); - filterMap.put("/census/center/selectDeptDetailTypeCountList", "oauth2"); - filterMap.put("/census/center/selectCensusResourceTable", "oauth2"); + + filterMap.put("/census/center/exportSelectApplyDeptDetailTypeCountList", "oauth2"); filterMap.put("/census/center/exportSelectDeptDetailTypeCountList", "oauth2"); filterMap.put("/census/center/exportSelectCensusResourceTable", "oauth2"); + filterMap.put("/census/center/exportSelectCensusApplyTable", "oauth2"); + + filterMap.put("/census/center/selectApplyDeptDetailTypeCountList", "oauth2"); + filterMap.put("/census/center/selectDeptDetailTypeCountList", "oauth2"); + filterMap.put("/census/center/selectCensusResourceTable", "oauth2"); + filterMap.put("/census/center/selectCensusApplyTable", "oauth2"); + filterMap.put("/census/center/**", "anon"); // 全局各类统计 包含 /census/center/v2 filterMap.put("/metrics/**", "anon"); filterMap.put("/gateway-monitor/**", "anon");