From 46f6f884bad7294ea8ece4e01796365bb59beb8b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 09 Jun 2020 10:34:15 +0800
Subject: [PATCH] 20200609   代码提交

---
 src/main/java/com/xcong/excoin/configurations/security/WebSecurityConfig.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/configurations/security/WebSecurityConfig.java b/src/main/java/com/xcong/excoin/configurations/security/WebSecurityConfig.java
index 868cb65..31b0a2d 100644
--- a/src/main/java/com/xcong/excoin/configurations/security/WebSecurityConfig.java
+++ b/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());
     }

--
Gitblit v1.9.1