diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/tools/email/wrapper/EmailModel.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/tools/email/wrapper/EmailModel.java index 1194a10..9945e91 100644 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/tools/email/wrapper/EmailModel.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/tools/email/wrapper/EmailModel.java @@ -21,7 +21,7 @@ public class EmailModel { /** 收件人 */ @ApiModelProperty(value = "收件人") - @ValidationArgs({ValiArgsType.IS_NOT_NULL}) + @ValidationArgs({ValiArgsType.IS_EMAIL, ValiArgsType.IS_NOT_NULL}) @ValidationArgsLenMax(200) private String to;