Browse Source

url调整

chengyao 3 years ago
parent
commit
cc359847dd

+ 2 - 2
src/main/java/com/diagbot/config/ResourceServerConfigurer.java

@@ -99,8 +99,8 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/console/homePageLevelStatistics").permitAll()
                 .antMatchers("/console/homePageLevelStatisticsXY").permitAll()
                 .antMatchers("/console/export/homePageLevelXYExport").permitAll()
-                .antMatchers("/console/homePageLevelStatisticsXYByDept").permitAll()
-                .antMatchers("/console/export/homePageLevelXYExportByDept").permitAll()
+                .antMatchers("/consoleByDept/homePageLevelStatisticsXYByDept").permitAll()
+                .antMatchers("/print/export/homePageLevelXYExportByDept").permitAll()
                 .antMatchers("/console/leaveHosCount").permitAll()
                 .antMatchers("/console/medicalRecordIndicator").permitAll()
                 .antMatchers("/console/codingMonthly").permitAll()

+ 2 - 2
src/main/java/com/diagbot/config/security/UrlAccessDecisionManager.java

@@ -143,8 +143,8 @@ public class UrlAccessDecisionManager implements AccessDecisionManager {
                 || matchers("/console/homePageLevelStatistics", request)
                 || matchers("/console/homePageLevelStatisticsXY", request)
                 || matchers("/console/export/homePageLevelXYExport", request)
-                || matchers("/console/homePageLevelStatisticsXYByDept", request)
-                || matchers("/console/export/homePageLevelXYExportByDept", request)
+                || matchers("/consoleByDept/homePageLevelStatisticsXYByDept", request)
+                || matchers("/print/export/homePageLevelXYExportByDept", request)
                 || matchers("/console/leaveHosCount", request)
                 || matchers("/console/levelPercentGroupByDeptPage", request)
                 || matchers("/console/levelStatistics", request)