Commit 5e9c4be3 authored by lixuan's avatar lixuan

feat: 房源

parent 5ce36519
Pipeline #145502 canceled with stages
...@@ -117,7 +117,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -117,7 +117,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/api/party/**","/api/grid/screen/party/**").permitAll() .antMatchers("/api/party/**","/api/grid/screen/party/**").permitAll()
// 静态资源,可匿名访问downloadTemplate // 静态资源,可匿名访问downloadTemplate
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**", "/doc.html", "/api/house/**").permitAll() .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**", "/doc.html").permitAll()
// 除上面外的所有请求全部需要鉴权认证 // 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment