diff --git a/casic-web/src/main/resources/config/application-dev.yml b/casic-web/src/main/resources/config/application-dev.yml index a97d3b4..74aa4f2 100644 --- a/casic-web/src/main/resources/config/application-dev.yml +++ b/casic-web/src/main/resources/config/application-dev.yml @@ -26,7 +26,7 @@ broker-url: tcp://192.168.0.203:61616 web: resources: - static-locations: file:D:\java\boot\guns-web-1.0.0-SNAPSHOT\image\ + static-locations: file:C:\tmp\ #flowable数据源和多数据源配置 casic: kaptcha-open: false #是否开启登录时验证码 (true/false) @@ -35,7 +35,8 @@ db: init: enable: false - file-upload-path: D:\java\boot\guns-web-1.0.0-SNAPSHOT\upload + file: + uploadPath: C:\tmp\ #必须配置项,该项配置完成后 静态资源路径配置才生效 spring-session-open: false #开启spring session smartcity: config: diff --git a/casic-web/src/main/resources/config/application-dev.yml b/casic-web/src/main/resources/config/application-dev.yml index a97d3b4..74aa4f2 100644 --- a/casic-web/src/main/resources/config/application-dev.yml +++ b/casic-web/src/main/resources/config/application-dev.yml @@ -26,7 +26,7 @@ broker-url: tcp://192.168.0.203:61616 web: resources: - static-locations: file:D:\java\boot\guns-web-1.0.0-SNAPSHOT\image\ + static-locations: file:C:\tmp\ #flowable数据源和多数据源配置 casic: kaptcha-open: false #是否开启登录时验证码 (true/false) @@ -35,7 +35,8 @@ db: init: enable: false - file-upload-path: D:\java\boot\guns-web-1.0.0-SNAPSHOT\upload + file: + uploadPath: C:\tmp\ #必须配置项,该项配置完成后 静态资源路径配置才生效 spring-session-open: false #开启spring session smartcity: config: diff --git a/casic-web/src/main/resources/config/application.yml b/casic-web/src/main/resources/config/application.yml index de05d41..aab0124 100644 --- a/casic-web/src/main/resources/config/application.yml +++ b/casic-web/src/main/resources/config/application.yml @@ -3,7 +3,7 @@ ########################################################## spring: profiles: - active: postgre + active: dev servlet: multipart: max-file-size: 50MB