Browse Source

小程序yml文件添加file配置

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
dd107f72cb
4 changed files with 34 additions and 1 deletions
  1. +9
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/resources/application-dev.yml
  2. +9
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/resources/application-local.yml
  3. +8
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/resources/application-prod.yml
  4. +8
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/resources/application-test.yml

+ 9
- 1
tuoheng-service/tuoheng-miniprogram/src/main/resources/application-dev.yml View File

@@ -107,4 +107,12 @@ xxl:
# enabled: true
# # 注意:feign的fallback, ↑ 新版用这种方式开启。↓ 旧版用这个
# # hystrix:
# # enabled: true
# # enabled: true

file:
#上传的服务器上的映射文件夹
accessPath: /uploads/
#静态资源对外暴露的访问路径
staticAccessPath: /**
#静态资源实际存储路径
uploadFolder: /data/java/tuoheng_hhz/uploads/

+ 9
- 0
tuoheng-service/tuoheng-miniprogram/src/main/resources/application-local.yml View File

@@ -108,3 +108,12 @@ xxl:
# # 注意:feign的fallback, ↑ 新版用这种方式开启。↓ 旧版用这个
# # hystrix:
# # enabled: true

file:
#上传的服务器上的映射文件夹
accessPath: /uploads/
#静态资源对外暴露的访问路径
staticAccessPath: /**
#静态资源实际存储路径
uploadFolder: /data/java/tuoheng_hhz/uploads/


+ 8
- 0
tuoheng-service/tuoheng-miniprogram/src/main/resources/application-prod.yml View File

@@ -108,3 +108,11 @@ xxl:
# # 注意:feign的fallback, ↑ 新版用这种方式开启。↓ 旧版用这个
# # hystrix:
# # enabled: true

file:
#上传的服务器上的映射文件夹
accessPath: /uploads/
#静态资源对外暴露的访问路径
staticAccessPath: /**
#静态资源实际存储路径
uploadFolder: /data/java/tuoheng_hhz/uploads/

+ 8
- 0
tuoheng-service/tuoheng-miniprogram/src/main/resources/application-test.yml View File

@@ -108,3 +108,11 @@ xxl:
# # 注意:feign的fallback, ↑ 新版用这种方式开启。↓ 旧版用这个
# # hystrix:
# # enabled: true

file:
#上传的服务器上的映射文件夹
accessPath: /uploads/
#静态资源对外暴露的访问路径
staticAccessPath: /**
#静态资源实际存储路径
uploadFolder: /data/java/tuoheng_hhz/uploads/

Loading…
Cancel
Save