Forráskód Böngészése

全域搜索权限

panhui 3 éve
szülő
commit
eb7dae60a7

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

@@ -181,6 +181,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers("/news/newsInfo").permitAll()
                 .antMatchers("/metaResources/getUrl").permitAll()
                 .antMatchers("/news/newsInfo").permitAll()
+                .antMatchers("/statistic/globalSearch").permitAll()
                 .antMatchers("/metaResources/like").permitAll()
                 // all other requests need to be authenticated
                 .anyRequest().authenticated().and()