From ba0cd580b67421ed3589a5f0c2d7a8c95f8dbee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 19 Aug 2024 14:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86knife4j=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/gxwebsoft/common/core/config/SwaggerConfig.java | 3 ++- src/main/resources/application.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gxwebsoft/common/core/config/SwaggerConfig.java b/src/main/java/com/gxwebsoft/common/core/config/SwaggerConfig.java index 32c56c8..50b15b8 100644 --- a/src/main/java/com/gxwebsoft/common/core/config/SwaggerConfig.java +++ b/src/main/java/com/gxwebsoft/common/core/config/SwaggerConfig.java @@ -49,7 +49,8 @@ public class SwaggerConfig { .title(config.getSwaggerTitle()) .description(config.getSwaggerDescription()) .version(config.getSwaggerVersion()) - .termsOfServiceUrl("") + .contact(new Contact("科技小王子","https://www.gxwebsoft.com","170083662@qq.com")) + .termsOfServiceUrl("https://server.gxwebsoft.com/api") .build(); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9fa15b7..de06d18 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -85,7 +85,7 @@ config: open-office-home: C:/OpenOffice4/ swagger-base-package: com.gxwebsoft swagger-title: 网宿软件 API文档 - swagger-description: 核心模块 https://server.gxwebsoft.com/api + swagger-description: websoft - 基于java spring、vue3、antd构建的前后端分离快速开发框架 swagger-version: 2.0 token-key: WLgNsWJ8rPjRtnjzX/Gx2RGS80Kwnm/ZeLbvIL+NrBs= server-url: https://server.gxwebsoft.com/api