Browse Source

控制台接口全都加入白名单

songxinlu 3 years ago
parent
commit
67b07b1b8e
1 changed files with 1 additions and 75 deletions
  1. 1 75
      src/main/java/com/diagbot/config/ResourceServerConfigurer.java

+ 1 - 75
src/main/java/com/diagbot/config/ResourceServerConfigurer.java

@@ -90,28 +90,7 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/sys/user/pageset/savePageSet").permitAll()
                 .antMatchers("/sys/user/pageset/getDefultPageSet").permitAll()
                 .antMatchers("/consoleByDept/getDept").permitAll()
-                .antMatchers("/console/entryRejectPercent").permitAll()
-                .antMatchers("/console/qcResultLevelPercent").permitAll()
-                .antMatchers("/console/averageStatistics").permitAll()
-                .antMatchers("/console/entryByDept").permitAll()
-                .antMatchers("/console/entryCountGroupByCase").permitAll()
-                .antMatchers("/console/entryCountGroupByCasePage").permitAll()
-                .antMatchers("/console/entryCountGroupByEntry").permitAll()
-                .antMatchers("/console/entryCountGroupByEntryPage").permitAll()
-                .antMatchers("/console/entryCountGroupXYByEntryPage").permitAll()
-                .antMatchers("/console/entryGroupByEntryInnerPage").permitAll()
-                .antMatchers("/console/getAverageDayNum").permitAll()
-                .antMatchers("/console/getAverageDayNumPage").permitAll()
-                .antMatchers("/console/getAverageFee").permitAll()
-                .antMatchers("/console/getAverageFeePage").permitAll()
-                .antMatchers("/console/getAverageScore").permitAll()
-                .antMatchers("/console/getAverageScoreByDeptClass").permitAll()
-                .antMatchers("/console/getAverageScoreByDeptPage").permitAll()
-                .antMatchers("/console/getLevelResultDept").permitAll()
-                .antMatchers("/console/homePageLevelLimit").permitAll()
-                .antMatchers("/console/homePageLevelStatistics").permitAll()
-                .antMatchers("/console/homePageLevelStatisticsXY").permitAll()
-                .antMatchers("/console/export/homePageLevelXYExport").permitAll()
+                .antMatchers("/console/**").permitAll()
                 .antMatchers("/consoleByDept/homePageLevelStatisticsXYByDept").permitAll()
                 .antMatchers("/print/export/homePageLevelXYExportByDept").permitAll()
                 .antMatchers("/consoleByDept/entryCountGroupXYByEntryPageDept").permitAll()
@@ -120,27 +99,6 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/print/export/qcResultShortXYPageExportDept").permitAll()
                 .antMatchers("/consoleByDept/badLevelXYPageByDept").permitAll()
                 .antMatchers("/print/export/badLevelPageXYExportByDept").permitAll()
-                .antMatchers("/console/leaveHosCount").permitAll()
-                .antMatchers("/console/medicalRecordIndicator").permitAll()
-                .antMatchers("/console/codingMonthly").permitAll()
-                .antMatchers("/console/levelPercentGroupByDeptPage").permitAll()
-                .antMatchers("/console/levelStatistics").permitAll()
-                .antMatchers("/console/levelStatisticsByDeptClass").permitAll()
-                .antMatchers("/console/mrCount").permitAll()
-                .antMatchers("/console/mrStatistics").permitAll()
-                .antMatchers("/console/qcResultShortPage").permitAll()
-                .antMatchers("/console/qcResultShortXYPage").permitAll()
-                .antMatchers("/console/resultStatistics").permitAll()
-                .antMatchers("/console/resultStatisticsByDeptPage").permitAll()
-                .antMatchers("/console/homePageMRCount").permitAll()
-                .antMatchers("/console/qcCheckStatistics").permitAll()
-                .antMatchers("/console/unModifyMRStatistics").permitAll()
-                .antMatchers("/console/unModifyMRPage").permitAll()
-                .antMatchers("/console/reHos31DaysPage").permitAll()
-                .antMatchers("/console/beHosCount").permitAll()
-                .antMatchers("/console/casesEntryStatisticsById").permitAll()
-                .antMatchers("/console/hmImproveMRPage").permitAll()
-                .antMatchers("/console/qcCheckMRPage").permitAll()
                 .antMatchers("/consoleByDept/entryCountGroupByCaseAndDept").permitAll()
                 .antMatchers("/consoleByDept/entryCountGroupByCaseAndDeptPage").permitAll()
                 .antMatchers("/consoleByDept/entryCountGroupByEntryAndDept").permitAll()
@@ -153,27 +111,6 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/consoleByDept/mrCountByDept").permitAll()
                 .antMatchers("/consoleByDept/qcResultShortByDeptPage").permitAll()
                 .antMatchers("/consoleByDept/resultStatisticsByDeptAndDoctorPage").permitAll()
-                .antMatchers("/console/export/homePageLevelExport").permitAll()
-                .antMatchers("/console/export/entryGroupByEntryExport").permitAll()
-                .antMatchers("/console/export/levelExport").permitAll()
-                .antMatchers("/console/entryStatistics").permitAll()
-                .antMatchers("/console/export/levelExport_TZ").permitAll()
-                .antMatchers("/console/export/getAverageDayNumExport").permitAll()
-                .antMatchers("/console/export/getAverageFeeExport").permitAll()
-                .antMatchers("/console/export/levelPercentGroupByDeptExport").permitAll()
-                .antMatchers("/console/export/entryCountGroupByEntryExport").permitAll()
-                .antMatchers("/console/export/entryCountGroupXYByEntryExport").permitAll()
-                .antMatchers("/console/export/entryCountGroupByCaseExport").permitAll()
-                .antMatchers("/console/export/entryStatisticsExport").permitAll()
-                .antMatchers("/console/export/qcResultShortPageExport").permitAll()
-                .antMatchers("/console/export/qcResultShortXYPageExport").permitAll()
-                .antMatchers("/console/export/leaveHosMrPageExport").permitAll()
-                .antMatchers("/console/export/qcCheckStatisticsExport").permitAll()
-                .antMatchers("/console/export/unModifyMRPageExport").permitAll()
-                .antMatchers("/console/export/unModifyMRStatisticsExport").permitAll()
-                .antMatchers("/console/export/reHos31DaysPageExport").permitAll()
-                .antMatchers("/console/export/hmImproveMRPageExport").permitAll()
-                .antMatchers("/console/export/qcCheckMRPageExport").permitAll()
                 .antMatchers("/qc/data/sendDoctorInfos").permitAll()
                 .antMatchers("/qc/data/sendDeptInfos").permitAll()
                 .antMatchers("/qc/data/sendRecordTypes").permitAll()
@@ -199,15 +136,7 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/qc/medPacsInfo/getCheckPage").permitAll()
                 .antMatchers("/qc/medLisInfo/getExaminePage").permitAll()
                 .antMatchers("/qc/medLisInfo/getExamineSonPage").permitAll()
-                .antMatchers("/console/medicalCheckForm").permitAll()
                 .antMatchers("/qc/behospitalInfo/analyzeCds").permitAll()
-                .antMatchers("/console/medicalCheckTitle").permitAll()
-                .antMatchers("/console/export/medicalCheckExport").permitAll()
-                .antMatchers("/console/export/medicalCheckInnerExport").permitAll()
-                .antMatchers("/console/badLevelPage").permitAll()
-                .antMatchers("/console/badLevelXYPage").permitAll()
-                .antMatchers("/console/export/badLevelPagePageExport").permitAll()
-                .antMatchers("/console/export/badLevelPageXYExport").permitAll()
                 .antMatchers("/qc/medNurse/getMedNursePage").permitAll()
                 .antMatchers("/qc/medRecordOther/getMedRecordOtherPage").permitAll()
                 .antMatchers("/qc/medRecordOther/getMedRecordContentOther").permitAll()
@@ -242,12 +171,9 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .antMatchers("/consoleByDept/medicalCheckFormKs").permitAll()
                 .antMatchers("/print/export/medicalCheckExportByDept").permitAll()
                 .antMatchers("/consoleByDept/medicalCheckTitleKs").permitAll()
-                .antMatchers("/console/qualityControl").permitAll()
-                .antMatchers("/console/export/qualityControlExport").permitAll()
                 .antMatchers("/consoleByDept/qualityControlByDept").permitAll()
                 .antMatchers("/print/export/qualityControlExportByDept").permitAll()
                 .antMatchers("/qc/behospitalInfo/getMedQualityCoList").permitAll()
-                .antMatchers("/console/saveMedicaIndicator").permitAll()
                 .antMatchers("/qc/medCheckInfo/createMedBeHospitalInfoType").permitAll()
                 .antMatchers("/qc/medCheckInfo/addMedCheckInfo").permitAll()
                 .antMatchers("/qc/medCheckInfo/getDataEdit").permitAll()