|
|
@@ -120,7 +120,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
"/technician/technician/getTechnician", "/technician/technician/getTechnicianInfo", "/technician/technician/getTechnicianList",
|
|
|
"/technician/technician/apply", "/technician/technician/resetPassword",
|
|
|
"/customer/banner/page", "/customer/service/category/**", "/technician/technician/profile",
|
|
|
- "/customer/city/**","/home/hot/recommend","/home/search/**").permitAll()
|
|
|
+ "/customer/city/**","/home/hot/recommend","/home/search/**","/discover/moment/**").permitAll()
|
|
|
// 静态资源,可匿名访问
|
|
|
.antMatchers(HttpMethod.GET, "/", "/*.txt", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
|
|
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|