소스 검색

赔率同步

kk 1 개월 전
부모
커밋
47df47f5fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      game-framework/src/main/java/com/game/framework/config/SecurityConfig.java

+ 1 - 1
game-framework/src/main/java/com/game/framework/config/SecurityConfig.java

@@ -111,7 +111,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 // 过滤请求
                 .authorizeRequests()
                 // 对于登录login 注册register 验证码captchaImage 允许匿名访问
-                .antMatchers("/login", "/register", "/captchaImage", "/business/game_item/getSynItem").permitAll()
+                .antMatchers("/login", "/register", "/captchaImage","/business/game_item/synItem", "/business/game_item/getSynItem").permitAll()
                 // 静态资源,可匿名访问
                 .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
                 .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()