docs:knife4j接口文档信息修改

This commit is contained in:
郝先瑞 2021-06-21 23:29:49 +08:00
parent 17dc8fdb59
commit 1e07bf8552
7 changed files with 12 additions and 13 deletions

View File

@ -66,8 +66,8 @@ public class SwaggerConfiguration {
return new ApiInfoBuilder() return new ApiInfoBuilder()
.title("订单中心") .title("订单中心")
.description("<div style='font-size:14px;color:red;'>订单提交、秒杀接口</div>") .description("<div style='font-size:14px;color:red;'>订单提交、秒杀接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -66,8 +66,8 @@ public class SwaggerConfiguration {
return new ApiInfoBuilder() return new ApiInfoBuilder()
.title("商品中心") .title("商品中心")
.description("<div style='font-size:14px;color:red;'>商品管理、库存、分类、品牌、规格、参数等接口</div>") .description("<div style='font-size:14px;color:red;'>商品管理、库存、分类、品牌、规格、参数等接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -65,8 +65,8 @@ public class SwaggerConfiguration {
private ApiInfo apiInfo() { private ApiInfo apiInfo() {
return new ApiInfoBuilder().title("营销中心") return new ApiInfoBuilder().title("营销中心")
.description("<div style='font-size:14px;color:red;'>首页广告接口</div>") .description("<div style='font-size:14px;color:red;'>首页广告接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -67,8 +67,8 @@ public class SwaggerConfiguration {
return new ApiInfoBuilder() return new ApiInfoBuilder()
.title("会员中心") .title("会员中心")
.description("<div style='font-size:14px;color:red;'>会员管理、地址接口</div>") .description("<div style='font-size:14px;color:red;'>会员管理、地址接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -68,8 +68,8 @@ public class SwaggerConfiguration {
return new ApiInfoBuilder() return new ApiInfoBuilder()
.title("系统管理") .title("系统管理")
.description("<div style='font-size:14px;color:red;'>用户、角色、部门、菜单、权限、字典、客户端接口</div>") .description("<div style='font-size:14px;color:red;'>用户、角色、部门、菜单、权限、字典、客户端接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -62,8 +62,8 @@ public class SwaggerConfiguration {
private ApiInfo apiInfo() { private ApiInfo apiInfo() {
return new ApiInfoBuilder().title("OAuth2认证中心") return new ApiInfoBuilder().title("OAuth2认证中心")
.description("<div style='font-size:14px;color:red;'>OAuth2认证、注销、获取验签公钥接口</div>") .description("<div style='font-size:14px;color:red;'>OAuth2认证、注销、获取验签公钥接口</div>")
.termsOfServiceUrl("https://www.youlai.store") .termsOfServiceUrl("https://www.youlai.tech")
.contact(new Contact("yl", "https://github.com/hxrui", "1490493387@qq.com")) .contact(new Contact("有来技术团队", "https://github.com/hxrui", "1490493387@qq.com"))
.license("Open Source") .license("Open Source")
.licenseUrl("https://www.apache.org/licenses/LICENSE-2.0") .licenseUrl("https://www.apache.org/licenses/LICENSE-2.0")
.version("1.0.0") .version("1.0.0")

View File

@ -2,7 +2,6 @@ package com.youlai.gateway.security;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.youlai.common.constant.AuthConstants; import com.youlai.common.constant.AuthConstants;
import com.youlai.common.constant.GlobalConstants; import com.youlai.common.constant.GlobalConstants;