sunkean há 2 anos atrás
pai
commit
018afa8e03

+ 2 - 0
src/main/java/com/izouma/nineth/security/WebSecurityConfig.java

@@ -183,6 +183,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/news/newsInfo").permitAll()
                 .antMatchers("/metaResources/like/**").permitAll()
                 .antMatchers("/metaResources/getLikeNum/**").permitAll()
+                .antMatchers("/metaProblem/findAll").permitAll()
+                .antMatchers("/metaQuestion/queryByApplication/**").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to