zhoutg пре 6 година
родитељ
комит
1ba8016f13

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

@@ -28,8 +28,7 @@ public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
                 .regexMatchers(".*swagger.*", ".*v2.*", ".*webjars.*", "/druid.*", "/actuator.*", "/hystrix.*").permitAll()
                 .antMatchers("/file/upload").permitAll()
                 .antMatchers("/introduceInfo/saveIntroduce").permitAll()
-                .antMatchers("/questionInfo/delete").permitAll()
-                .antMatchers("/questionInfo/index").permitAll()
+                .antMatchers("/dictionaryInfo/getList").permitAll()
                 .antMatchers("/getIcssEnumsData").permitAll()
                 .antMatchers("/**").authenticated();
 //                .antMatchers("/**").permitAll();

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

@@ -92,8 +92,7 @@ public class UrlAccessDecisionManager implements AccessDecisionManager {
                 || matchers("/file/upload", request)
                 || matchers("/getIcssEnumsData", request)
                 || matchers("introduceInfo/saveIntroduce", request)
-                || matchers("/questionInfo/delete", request)
-                || matchers("/questionInfo/index", request)
+                || matchers("/dictionaryInfo/getList", request)
                 || matchers("/", request)) {
             return true;
         }