xiaoyong931011
2020-06-08 9a82d627a6cf5439ec9018239ace1cdc7fbf72f5
src/main/java/com/xcong/excoin/configurations/security/WebSecurityConfig.java
@@ -39,9 +39,15 @@
                .authorizeRequests()
                .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
                .antMatchers("/login").permitAll()
                .antMatchers("/register").permitAll()
                .antMatchers("/swagger**/**").permitAll()
                .antMatchers("/webjars/**").permitAll()
                .antMatchers("/v2/**").permitAll()
                .antMatchers("/api/symbols/**").permitAll()
                .antMatchers("/common/**").permitAll()
                .antMatchers("/api/exchange/**").permitAll()
                .antMatchers("/api/member/getMemberAccountInfo").permitAll()
                .antMatchers("/api/member/memberForgetPwd").permitAll()
                .anyRequest().authenticated()
                .and().apply(securityConfiguereAdapter());
    }