xiongzhu 4 лет назад
Родитель
Сommit
198cf7e1ab
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/main/java/com/izouma/nineth/security/WebSecurityConfig.java

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

@@ -94,6 +94,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/blindBoxItem/all").permitAll()
                 .antMatchers("/collection/recommend").permitAll()
                 .antMatchers("/order/**/status").permitAll()
+                .antMatchers("/activity/all").permitAll()
+                .antMatchers("/activity/get/*").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to