From cd71749aa27d78a4beabbff033f05b85c36f7f41 Mon Sep 17 00:00:00 2001 From: hiparker Date: Thu, 29 Apr 2021 22:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8F=91=E9=80=81=E9=82=AE?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/opsli/modulars/tools/email/wrapper/EmailModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;