From ef764a93794310fa34105b6cf20788d32ec5ec9a Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Wed, 8 Dec 2021 20:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod.yml | 9 +++++++++ src/main/resources/application-test.yml | 13 +++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index f47a844..3b70524 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -85,12 +85,21 @@ file: file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf max-file-count: 6 image-output-quality: 0.4 + # 启用minIo + use-min-io: true + # 与use-min-io配套使用 + min-io: + endpoint: http://192.168.0.156:9900 + access-key: usercenter + secret-key: aaa111!!! # 即时通讯 websocket: url: 192.168.0.155 port: 1991 context: websocket + is-encrypt: false + aes-key: SocKEtsEcReT_KeY # 短信服务 sms: diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 1c87b06..73fdbc6 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -54,10 +54,10 @@ spring: use-global-data-source-stat: true data: mongodb: - uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity + uri: mongodb://smartcity:smartcity@127.0.0.1:27017/smartcity redis: database: 6 - host: 192.168.0.156 + host: 127.0.0.1 port: 6379 password: 666 timeout: 3000ms @@ -86,12 +86,21 @@ file: file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf max-file-count: 6 image-output-quality: 0.4 + # 启用minIo + use-min-io: true + # 与use-min-io配套使用 + min-io: + endpoint: http://127.0.0.1:9900 + access-key: usercenter + secret-key: aaa111!!! # 即时通讯 websocket: url: 127.0.0.1 port: 8081 context: websocket + is-encrypt: false + aes-key: SocKEtsEcReT_KeY # 短信服务 sms: