xiongzhu 4 سال پیش
والد
کامیت
b939a21eb6
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      src/main/java/com/izouma/awesomeAdmin/security/WebSecurityConfig.java

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

@@ -82,6 +82,11 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/sysConfig/get/*").permitAll()
                 .antMatchers("/category/all").permitAll()
                 .antMatchers("/statDataCenter/**").permitAll()
+                .antMatchers("/project/all").permitAll()
+                .antMatchers("/resource/all").permitAll()
+                .antMatchers("/tech/all").permitAll()
+                .antMatchers("/expert/all").permitAll()
+                .antMatchers("/orgInfo/all").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()
                 // make sure we use stateless session; session won't be used to