Commit 378336760581d930e69141ee62b394e3f1862c60
1 parent
7e65ede9
邮箱模块:优化注释 + 方法名
Showing
1 changed file
with
0 additions
and
2 deletions
yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/mail/dto/MailSendSingleToUserReqDTO.java
| @@ -17,7 +17,6 @@ public class MailSendSingleToUserReqDTO { | @@ -17,7 +17,6 @@ public class MailSendSingleToUserReqDTO { | ||
| 17 | /** | 17 | /** |
| 18 | * 用户编号 | 18 | * 用户编号 |
| 19 | */ | 19 | */ |
| 20 | - @NotNull(message = "用户编号不能为空") | ||
| 21 | private Long userId; | 20 | private Long userId; |
| 22 | /** | 21 | /** |
| 23 | * 邮箱 | 22 | * 邮箱 |
| @@ -33,7 +32,6 @@ public class MailSendSingleToUserReqDTO { | @@ -33,7 +32,6 @@ public class MailSendSingleToUserReqDTO { | ||
| 33 | /** | 32 | /** |
| 34 | * 邮件模板参数 | 33 | * 邮件模板参数 |
| 35 | */ | 34 | */ |
| 36 | - @NotNull(message = "邮件模板参数不能为空") | ||
| 37 | private Map<String, Object> templateParams; | 35 | private Map<String, Object> templateParams; |
| 38 | 36 | ||
| 39 | } | 37 | } |