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