From a2a7853dbfafea4800a465c5327b879f7c1a53e7 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Fri, 3 Mar 2023 00:48:40 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=BC=80=E5=85=B3=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-dev.yml | 8 ++++++++ src/main/resources/application-prod.yml | 17 ++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 945358ae..edfd6936 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -53,3 +53,11 @@ minio: # 自定义域名(非必须),Nginx配置反向代理转发文件路径 custom-domain: + +# 接口文档 +springdoc: + swagger-ui: + enabled: true + api-docs: + enabled: true + diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index f9645975..4e6c1997 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -46,11 +46,18 @@ auth: # MinIO 分布式文件系统 minio: - endpoint: http://localhost:9000 + endpoint: http://www.youlai.tech:9000 access-key: minioadmin - secret-key: minioadmin - # 存储桶名称 - bucket-name: default + secret-key: youlaitech + bucket-name: youlai-boot # 自定义域名(非必须),Nginx配置反向代理转发文件路径 - custom-domain: + custom-domain: https://oss.youlai.tech + + +# 接口文档 +springdoc: + swagger-ui: + enabled: true + api-docs: + enabled: true