邮箱模块:优化注释 + 方法名

This commit is contained in:
YunaiV 2023-01-27 21:43:39 +08:00
parent 7e65ede92d
commit 3783367605

View File

@ -17,7 +17,6 @@ public class MailSendSingleToUserReqDTO {
/**
* 用户编号
*/
@NotNull(message = "用户编号不能为空")
private Long userId;
/**
* 邮箱
@ -33,7 +32,6 @@ public class MailSendSingleToUserReqDTO {
/**
* 邮件模板参数
*/
@NotNull(message = "邮件模板参数不能为空")
private Map<String, Object> templateParams;
}