feat:更新配置文件

This commit is contained in:
2025-10-16 22:06:59 +08:00
parent 2e4c1046a0
commit dc18d77c00
3 changed files with 2 additions and 7 deletions

View File

@@ -11,9 +11,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
@Value("${file.path}")
private String filePath;
@Value("${file.log-path}")
private String logFilePath;
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/" + FileConstant.FILE_URL_PREFIX + "/**")

View File

@@ -7,4 +7,3 @@ spring:
file:
path: D:\\temp\\
log-path: D:\\temp\\

View File

@@ -7,4 +7,3 @@ spring:
file:
path: /root/docker/upload-file/
log-path: /root/service/logs/