配送单据接口开发

配送单据附件接口开发
This commit is contained in:
2025-10-16 10:30:21 +08:00
parent da426001b7
commit ab9a48f968
26 changed files with 3080 additions and 5 deletions

View File

@@ -111,7 +111,14 @@ public class SecurityConfig
.authorizeHttpRequests((requests) -> {
permitAllUrl.getUrls().forEach(url -> requests.antMatchers(url).permitAll());
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
requests.antMatchers("/login", "/register", "/captchaImage").permitAll()
requests.antMatchers(
"/login",
"/register",
"/document/info/**",
"/document/attachment/**",
"/document/order/**",
// "/document/info/bill/groups",
"/captchaImage").permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()