licailing 4 years ago
parent
commit
c22408da82
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/java/com/izouma/nineth/security/WebSecurityConfig.java

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

@@ -110,6 +110,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/druid/**").permitAll()
                 .antMatchers("/identityAuth/autoAuth").permitAll()
                 .antMatchers("/statistic/weekTop").permitAll()
+                .antMatchers("/showroom/all").permitAll()
+                .antMatchers("/showroom/get/**").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to