Commit ceaaec2f by Administrator

Update techhero-commservice-upload-natived.yml

parent feeed63a
...@@ -11,17 +11,17 @@ spring: ...@@ -11,17 +11,17 @@ spring:
max-idle: 8 max-idle: 8
min-idle: 0 min-idle: 0
file-storage: #文件存储配置,不使用的情况下可以不写 file-storage: #文件存储配置,不使用的情况下可以不写
default-platform: local-plus-1 #默认使用的存储平台 default-platform: local-plus #默认使用的存储平台
thumbnail-suffix: ".min.jpg" #缩略图后缀,例如【.min.jpg】【.png】 thumbnail-suffix: ".min.jpg" #缩略图后缀,例如【.min.jpg】【.png】
local: # 本地存储(不推荐使用) local: # 本地存储(不推荐使用)
- platform: local-1 # 存储平台标识 - platform: local # 存储平台标识
enable-storage: true #启用存储 enable-storage: true #启用存储
enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高) enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高)
domain: "http://127.0.0.1:16820/" # 访问域名,例如:“http://127.0.0.1:18080/picture/image/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名 domain: "http://127.0.0.1:16820/" # 访问域名,例如:“http://127.0.0.1:18080/picture/image/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名
base-path: /Users/wwq/Desktop/kdsfrz/image/ # 存储地址 base-path: /Users/wwq/Desktop/kdsfrz/image/ # 存储地址
path-patterns: /** # 访问路径,开启 enable-access 后,通过此路径可以访问到上传的文件 path-patterns: /** # 访问路径,开启 enable-access 后,通过此路径可以访问到上传的文件
local-plus: # 本地存储升级版 local-plus: # 本地存储升级版
- platform: local-plus-1 # 存储平台标识 - platform: local-plus # 存储平台标识
enable-storage: true #启用存储 enable-storage: true #启用存储
enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高) enable-access: true #启用访问(线上请使用 Nginx 配置,效率更高)
domain: "http://127.0.0.1:16820/" # 访问域名,例如:“http://127.0.0.1:8030/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名 domain: "http://127.0.0.1:16820/" # 访问域名,例如:“http://127.0.0.1:8030/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名
...@@ -30,7 +30,7 @@ spring: ...@@ -30,7 +30,7 @@ spring:
storage-path: /Users/wwq/Desktop/ # 存储路径 storage-path: /Users/wwq/Desktop/ # 存储路径
minio: # MinIO,由于 MinIO SDK 支持 AWS S3,其它兼容 AWS S3 协议的存储平台也都可配置在这里 minio: # MinIO,由于 MinIO SDK 支持 AWS S3,其它兼容 AWS S3 协议的存储平台也都可配置在这里
- platform: minio-1 # 存储平台标识 - platform: minio # 存储平台标识
enable-storage: true # 启用存储 enable-storage: true # 启用存储
access-key: Tj3lmVW59Zjq4gDQ access-key: Tj3lmVW59Zjq4gDQ
secret-key: De2SOr1MCflzUM8YwA9UKVBj3suuc8ci secret-key: De2SOr1MCflzUM8YwA9UKVBj3suuc8ci
......
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