|
@@ -112,7 +112,9 @@ public class SecurityConfig
|
|
|
permitAllUrl.getUrls().forEach(url -> requests.antMatchers(url).permitAll());
|
|
|
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
|
|
requests.antMatchers("/login","/loginWeb", "/register", "/captchaImage","/system/dict/**,","/websocket/**",
|
|
|
- "/core/users/orders/payNotify","/core/users/orders/refundNotify","/system/config/getHomeRollText","/system/config/serviceUrl/**","/core/searchHistory/info/businessTireNameHistory","/core/volunteer/info/searchBusinessTypeList").permitAll()
|
|
|
+ "/core/users/orders/payNotify","/core/users/orders/refundNotify","/system/config/getHomeRollText",
|
|
|
+ "/system/config/serviceUrl/**","/core/searchHistory/info/businessTireNameHistory","/core/volunteer/info/searchBusinessTypeList",
|
|
|
+ "/core/volunteer/info/volunteerPicture","/setUserLocation").permitAll()
|
|
|
//微信小程序需要提供部分预览功能
|
|
|
.antMatchers("/core/volunteer/info/list","/core/volunteer/info/getDetails",
|
|
|
"/web/core/slideshow/**","/core/business/management/**",
|