xiongzhu há 4 anos atrás
pai
commit
24c86647fe

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

@@ -78,6 +78,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/MP_verify*").permitAll()
                 .antMatchers("/MP_verify*").permitAll()
                 .antMatchers("/admin/**").permitAll()
                 .antMatchers("/admin/**").permitAll()
                 .antMatchers("/dataCenter/**").permitAll()
                 .antMatchers("/dataCenter/**").permitAll()
+                .antMatchers("/sysConfig/all").permitAll()
+                .antMatchers("/sysConfig/get/*").permitAll()
                 // all other requests need to be authenticated
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to
                 // make sure we use stateless session; session won't be used to