对齐 boot 与 cloud 的代码

This commit is contained in:
YunaiV 2023-07-26 23:56:02 +08:00
parent 14d7db0c60
commit 6c174d9c83
17 changed files with 19 additions and 17 deletions

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO,参数和 JobLogPageReqVO 是一致的") @Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO参数和 JobLogPageReqVO 是一致的")
@Data @Data
public class JobLogExportReqVO { public class JobLogExportReqVO {

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - API 访问日志 Excel 导出 Request VO,参数和 ApiAccessLogPageReqVO 是一致的") @Schema(description = "管理后台 - API 访问日志 Excel 导出 Request VO参数和 ApiAccessLogPageReqVO 是一致的")
@Data @Data
public class ApiAccessLogExportReqVO { public class ApiAccessLogExportReqVO {

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - API 错误日志 Excel 导出 Request VO,参数和 ApiErrorLogPageReqVO 是一致的") @Schema(description = "管理后台 - API 错误日志 Excel 导出 Request VO参数和 ApiErrorLogPageReqVO 是一致的")
@Data @Data
public class ApiErrorLogExportReqVO { public class ApiErrorLogExportReqVO {

View File

@ -7,7 +7,7 @@ import org.springframework.format.annotation.DateTimeFormat;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 字典类型 Excel 导出 Request VO,参数和 TestDemoPageReqVO 是一致的") @Schema(description = "管理后台 - 字典类型 Excel 导出 Request VO参数和 TestDemoPageReqVO 是一致的")
@Data @Data
public class TestDemoExportReqVO { public class TestDemoExportReqVO {

View File

@ -18,7 +18,7 @@ public class MpTagPageReqVO extends PageParam {
@NotEmpty(message = "公众号账号的编号不能为空") @NotEmpty(message = "公众号账号的编号不能为空")
private Long accountId; private Long accountId;
@Schema(description = "标签名 模糊匹配", example = "哈哈") @Schema(description = "标签名模糊匹配", example = "哈哈")
private String name; private String name;
} }

View File

@ -18,10 +18,10 @@ public class MpUserPageReqVO extends PageParam {
@NotNull(message = "公众号账号的编号不能为空") @NotNull(message = "公众号账号的编号不能为空")
private Long accountId; private Long accountId;
@Schema(description = "公众号粉丝标识 模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M") @Schema(description = "公众号粉丝标识模糊匹配", example = "o6_bmjrPTlm6_2sgVt7hMZOPfL2M")
private String openid; private String openid;
@Schema(description = "公众号粉丝昵称 模糊匹配", example = "芋艿") @Schema(description = "公众号粉丝昵称模糊匹配", example = "芋艿")
private String nickname; private String nickname;
} }

View File

@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.controller.admin.dept.vo.post;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
@Schema(description = "管理后台 - 岗位导出 Request VO,参数和 PostExcelVO 是一致的") @Schema(description = "管理后台 - 岗位导出 Request VO参数和 PostExcelVO 是一致的")
@Data @Data
public class PostExportReqVO { public class PostExportReqVO {

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 错误码 Excel 导出 Request VO,参数和 InfErrorCodePageReqVO 是一致的") @Schema(description = "管理后台 - 错误码 Excel 导出 Request VO参数和 InfErrorCodePageReqVO 是一致的")
@Data @Data
public class ErrorCodeExportReqVO { public class ErrorCodeExportReqVO {

View File

@ -8,7 +8,7 @@ import lombok.ToString;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.time.LocalDateTime; import java.time.LocalDateTime;
@Schema(description ="管理后台 - 邮箱账号 Response VO") @Schema(description = "管理后台 - 邮箱账号 Response VO")
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)

View File

@ -23,7 +23,7 @@ public class MailLogPageReqVO extends PageParam {
@Schema(description = "用户类型,参见 UserTypeEnum 枚举", example = "2") @Schema(description = "用户类型,参见 UserTypeEnum 枚举", example = "2")
private Integer userType; private Integer userType;
@Schema(description = "接收邮箱地址 模糊匹配", example = "76854@qq.com") @Schema(description = "接收邮箱地址模糊匹配", example = "76854@qq.com")
private String toMail; private String toMail;
@Schema(description = "邮箱账号编号", example = "18107") @Schema(description = "邮箱账号编号", example = "18107")

View File

@ -34,7 +34,7 @@ public class OAuth2OpenCheckTokenRespVO {
@JsonProperty("access_token") @JsonProperty("access_token")
private String accessToken; private String accessToken;
@Schema(description = "过期时间,时间戳 / 1000即单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "1593092157") @Schema(description = "过期时间时间戳 / 1000即单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "1593092157")
private Long exp; private Long exp;
} }

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 敏感词 Excel 导出 Request VO,参数和 SensitiveWordPageReqVO 是一致的") @Schema(description = "管理后台 - 敏感词 Excel 导出 Request VO参数和 SensitiveWordPageReqVO 是一致的")
@Data @Data
public class SensitiveWordExportReqVO { public class SensitiveWordExportReqVO {

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 短信日志 Excel 导出 Request VO,参数和 SmsLogPageReqVO 是一致的") @Schema(description = "管理后台 - 短信日志 Excel 导出 Request VO参数和 SmsLogPageReqVO 是一致的")
@Data @Data
public class SmsLogExportReqVO { public class SmsLogExportReqVO {

View File

@ -8,7 +8,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 短信模板 Excel 导出 Request VO,参数和 SmsTemplatePageReqVO 是一致的") @Schema(description = "管理后台 - 短信模板 Excel 导出 Request VO参数和 SmsTemplatePageReqVO 是一致的")
@Data @Data
public class SmsTemplateExportReqVO { public class SmsTemplateExportReqVO {

View File

@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.system.controller.admin.user.vo.profile;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Email; import javax.validation.constraints.Email;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
@ -21,6 +22,7 @@ public class UserProfileUpdateReqVO {
private String email; private String email;
@Schema(description = "手机号码", example = "15601691300") @Schema(description = "手机号码", example = "15601691300")
@Length(min = 11, max = 11, message = "手机号长度必须 11 位")
private String mobile; private String mobile;
@Schema(description = "用户性别-参见 SexEnum 枚举类", example = "1") @Schema(description = "用户性别-参见 SexEnum 枚举类", example = "1")

View File

@ -10,7 +10,7 @@ import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 用户导出 Request VO,参数和 UserPageReqVO 是一致的") @Schema(description = "管理后台 - 用户导出 Request VO参数和 UserPageReqVO 是一致的")
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor

View File

@ -18,7 +18,7 @@ public class UserImportRespVO {
@Schema(description = "更新成功的用户名数组", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "更新成功的用户名数组", requiredMode = Schema.RequiredMode.REQUIRED)
private List<String> updateUsernames; private List<String> updateUsernames;
@Schema(description = "导入失败的用户集合,key 为用户名value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED) @Schema(description = "导入失败的用户集合key 为用户名value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
private Map<String, String> failureUsernames; private Map<String, String> failureUsernames;
} }