diff --git a/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailApiV1Req.java b/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailApiV1Req.java index c824b94..06980c2 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailApiV1Req.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailApiV1Req.java @@ -51,7 +51,6 @@ public class MailApiV1Req { /** * 内容 */ - @Length(min= 10, max = 300, message = "信件内容不符合规范(不少于10字,不多于300字)") @NotBlank(message = "请输入信件内容") private String content; diff --git a/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailSourceBo.java b/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailSourceBo.java index efe498f..8607a6c 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailSourceBo.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/domain/bo/MailSourceBo.java @@ -57,7 +57,6 @@ public class MailSourceBo { /** * 内容 */ - @Length(min= 10, max = 300, message = "信件内容不符合规范(不少于10字,不多于300字)") @NotBlank(message = "请输入信件内容") private String content;