feat:更新配置文件
This commit is contained in:
@@ -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 + "/**")
|
||||
|
||||
@@ -6,5 +6,4 @@ spring:
|
||||
password: 123456
|
||||
|
||||
file:
|
||||
path: D:\\temp\\
|
||||
log-path: D:\\temp\\
|
||||
path: D:\\temp\\
|
||||
@@ -6,5 +6,4 @@ spring:
|
||||
password: 19940822Cxx@1213
|
||||
|
||||
file:
|
||||
path: /root/docker/upload-file/
|
||||
log-path: /root/service/logs/
|
||||
path: /root/docker/upload-file/
|
||||
Reference in New Issue
Block a user