Browse Source

增加oss配置

master
WendyYang 1 year ago
parent
commit
faa79404ed
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      pmapi/src/main/resources/application-dev.yml

+ 10
- 0
pmapi/src/main/resources/application-dev.yml View File

@@ -111,6 +111,16 @@ nd:
log:
enabled: true
type: DB
# 文件存储
file:
storage-type: ALI_OSS
ali:
protocol: https://
bucket: devplat
urlPrefix: oss-cn-hangzhou.aliyuncs.com
endpoint: oss-cn-hangzhou.aliyuncs.com
accessKeyId: LTAI4GL7uypycnBjiRn55rMG
accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98
# 日志文件配置
log:
path: ./logs


Loading…
Cancel
Save