Commit 78044c5e by Administrator

Update techhero-commservice-upload-natived.yml

parent 7131ccc1
...@@ -32,7 +32,7 @@ spring: ...@@ -32,7 +32,7 @@ spring:
driver-class-name: oracle.jdbc.OracleDriver driver-class-name: oracle.jdbc.OracleDriver
file-storage: #文件存储配置,不使用的情况下可以不写 file-storage: #文件存储配置,不使用的情况下可以不写
default-platform: local-1 #默认使用的存储平台 default-platform: local-plus-1 #默认使用的存储平台
thumbnail-suffix: ".min.jpg" #缩略图后缀,例如【.min.jpg】【.png】 thumbnail-suffix: ".min.jpg" #缩略图后缀,例如【.min.jpg】【.png】
local: # 本地存储(不推荐使用) local: # 本地存储(不推荐使用)
- platform: local-1 # 存储平台标识 - platform: local-1 # 存储平台标识
...@@ -45,10 +45,10 @@ spring: ...@@ -45,10 +45,10 @@ spring:
- platform: local-plus-1 # 存储平台标识 - platform: local-plus-1 # 存储平台标识
enable-storage: true #启用存储 enable-storage: true #启用存储
enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高) enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高)
domain: "" # 访问域名,例如:“http://127.0.0.1:8030/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名 domain: "http://127.0.0.1:18080/" # 访问域名,例如:“http://127.0.0.1:8030/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名
base-path: local-plus/ # 基础路径 base-path: /Users/wwq/Desktop/kdsfrz/image/ # 基础路径
path-patterns: /** # 访问路径 path-patterns: /** # 访问路径
storage-path: D:/Temp/ # 存储路径 storage-path: upload/ # 存储路径
huawei-obs: # 华为云 OBS ,不使用的情况下可以不写 huawei-obs: # 华为云 OBS ,不使用的情况下可以不写
- platform: huawei-obs-1 # 存储平台标识 - platform: huawei-obs-1 # 存储平台标识
enable-storage: false # 启用存储 enable-storage: false # 启用存储
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment