|
@@ -114,7 +114,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
.antMatchers("/login", "/register", "/captchaImage","/wx/login",
|
|
|
"/api/lbt/v1/getAll", "/api/js/v1/select", "/api/xiangmu/v1/wx/getAll", "/api/order/v1/getStatus",
|
|
|
"/api/xiangmu/v1/getByid", "/api/js/v1/wx/getByid","/api/js/v1/wx/select", "/api/recharge/v1/test",
|
|
|
- "/wx/pay/payNotify","/wx/pay/refundNotify","/weChat/verifyToken","/weChat/getCode").permitAll()
|
|
|
+ "/wx/pay/payNotify","/wx/pay/refundNotify","/weChat/*","/weChat/getCode").permitAll()
|
|
|
// 静态资源,可匿名访问
|
|
|
.antMatchers(HttpMethod.GET, "/", "/*.txt","/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
|
|
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|