1. 剔除掉多余的文档以及标记
This commit is contained in:
@@ -14,7 +14,7 @@ import jakarta.validation.constraints.NotEmpty;
|
||||
@Data
|
||||
public class MpAccountBaseVO {
|
||||
|
||||
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
||||
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
|
||||
@NotEmpty(message = "公众号名称不能为空")
|
||||
private String name;
|
||||
|
||||
@@ -37,7 +37,7 @@ public class MpAccountBaseVO {
|
||||
@Schema(description = "加密密钥", example = "gjN+Ksei")
|
||||
private String aesKey;
|
||||
|
||||
@Schema(description = "备注", example = "请关注芋道源码,学习技术")
|
||||
@Schema(description = "备注", example = "请关注ZT源码,学习技术")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ public class MpAccountSimpleRespVO {
|
||||
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
|
||||
@Schema(description = "公众号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
|
||||
private String name;
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ public class MpUserPageReqVO extends PageParam {
|
||||
@Schema(description = "微信生态唯一标识,模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
|
||||
private String unionId;
|
||||
|
||||
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "芋艿")
|
||||
@Schema(description = "公众号粉丝昵称,模糊匹配", example = "ZT")
|
||||
private String nickname;
|
||||
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ public class MpUserRespVO {
|
||||
@Schema(description = "取消关注时间")
|
||||
private LocalDateTime unsubscribeTime;
|
||||
|
||||
@Schema(description = "昵称", example = "芋道")
|
||||
@Schema(description = "昵称", example = "ZT")
|
||||
private String nickname;
|
||||
@Schema(description = "头像地址", example = "https://www.iocoder.cn/1.png")
|
||||
private String headImageUrl;
|
||||
|
||||
@@ -14,7 +14,7 @@ public class MpUserUpdateReqVO {
|
||||
@NotNull(message = "编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "昵称", example = "芋道")
|
||||
@Schema(description = "昵称", example = "ZT")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "备注", example = "你是一个芋头嘛")
|
||||
|
||||
@@ -19,7 +19,7 @@ public class SecurityConfiguration {
|
||||
|
||||
@Override
|
||||
public void customize(AuthorizeHttpRequestsConfigurer<HttpSecurity>.AuthorizationManagerRequestMatcherRegistry registry) {
|
||||
// TODO 芋艿:这个每个项目都需要重复配置,得捉摸有没通用的方案
|
||||
// TODO ZT:这个每个项目都需要重复配置,得捉摸有没通用的方案
|
||||
// Swagger 接口文档
|
||||
registry.requestMatchers("/v3/api-docs/**").permitAll()
|
||||
.requestMatchers("/webjars/**").permitAll()
|
||||
|
||||
@@ -85,8 +85,8 @@ spring:
|
||||
instance:
|
||||
service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
|
||||
|
||||
--- #################### 芋道相关配置 ####################
|
||||
--- #################### ZT相关配置 ####################
|
||||
|
||||
# 芋道配置项,设置当前项目所有自定义的配置
|
||||
# ZT配置项,设置当前项目所有自定义的配置
|
||||
zt:
|
||||
demo: true # 关闭演示模式
|
||||
|
||||
@@ -100,11 +100,11 @@ logging:
|
||||
level:
|
||||
# 配置自己写的 MyBatis Mapper 打印日志
|
||||
com.zt.plat.module.mp.dal.mysql: debug
|
||||
org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示
|
||||
org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO ZT:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示
|
||||
|
||||
--- #################### 芋道相关配置 ####################
|
||||
--- #################### ZT相关配置 ####################
|
||||
|
||||
# 芋道配置项,设置当前项目所有自定义的配置
|
||||
# ZT配置项,设置当前项目所有自定义的配置
|
||||
zt:
|
||||
env: # 多环境的配置项
|
||||
tag: ${HOSTNAME}
|
||||
|
||||
@@ -68,7 +68,7 @@ springdoc:
|
||||
default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档
|
||||
|
||||
knife4j:
|
||||
enable: false # TODO 芋艿:需要关闭增强,具体原因见:https://github.com/xiaoymin/knife4j/issues/874
|
||||
enable: false # TODO ZT:需要关闭增强,具体原因见:https://github.com/xiaoymin/knife4j/issues/874
|
||||
setting:
|
||||
language: zh_cn
|
||||
|
||||
@@ -117,7 +117,7 @@ wx:
|
||||
http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
|
||||
app-id: null # 避免 weixin-java-mp starter 报错
|
||||
|
||||
--- #################### 芋道相关配置 ####################
|
||||
--- #################### ZT相关配置 ####################
|
||||
|
||||
zt:
|
||||
info:
|
||||
|
||||
Reference in New Issue
Block a user