feat:更新配置文件
This commit is contained in:
@@ -11,9 +11,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|||||||
@Value("${file.path}")
|
@Value("${file.path}")
|
||||||
private String filePath;
|
private String filePath;
|
||||||
|
|
||||||
@Value("${file.log-path}")
|
|
||||||
private String logFilePath;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||||
registry.addResourceHandler("/" + FileConstant.FILE_URL_PREFIX + "/**")
|
registry.addResourceHandler("/" + FileConstant.FILE_URL_PREFIX + "/**")
|
||||||
|
|||||||
@@ -6,5 +6,4 @@ spring:
|
|||||||
password: 123456
|
password: 123456
|
||||||
|
|
||||||
file:
|
file:
|
||||||
path: D:\\temp\\
|
path: D:\\temp\\
|
||||||
log-path: D:\\temp\\
|
|
||||||
@@ -6,5 +6,4 @@ spring:
|
|||||||
password: 19940822Cxx@1213
|
password: 19940822Cxx@1213
|
||||||
|
|
||||||
file:
|
file:
|
||||||
path: /root/docker/upload-file/
|
path: /root/docker/upload-file/
|
||||||
log-path: /root/service/logs/
|
|
||||||
Reference in New Issue
Block a user