Ver código fonte

添加接口权限

sunkean 3 anos atrás
pai
commit
f503f9d5fe

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

@@ -140,6 +140,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/user/synchronizationData").permitAll()
                 .antMatchers("/rarityLabel/label/*").permitAll()
                 .antMatchers("/collection/count/*").permitAll()
+                .antMatchers("/asset/whetherMetaCanUse/{/*").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to