From 91432449113cd049f04f6ead3eed965588cfb9f1 Mon Sep 17 00:00:00 2001 From: yanglin Date: Thu, 26 Dec 2024 13:38:33 +0800 Subject: [PATCH] =?UTF-8?q?REQ-3201:=20=E6=8C=87=E5=AE=9A=E5=8F=91?= =?UTF-8?q?=E9=80=81=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/axzo/im/center/api/vo/req/SendTemplateMessageParam.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/im-center-api/src/main/java/cn/axzo/im/center/api/vo/req/SendTemplateMessageParam.java b/im-center-api/src/main/java/cn/axzo/im/center/api/vo/req/SendTemplateMessageParam.java index 22b6eaf..f53e3f1 100644 --- a/im-center-api/src/main/java/cn/axzo/im/center/api/vo/req/SendTemplateMessageParam.java +++ b/im-center-api/src/main/java/cn/axzo/im/center/api/vo/req/SendTemplateMessageParam.java @@ -12,6 +12,7 @@ import lombok.NoArgsConstructor; import javax.validation.Valid; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; import java.util.HashSet; import java.util.List; import java.util.Set; @@ -25,7 +26,7 @@ public class SendTemplateMessageParam { /** * 发送人 */ - @NotBlank(message = "发送人不能为空") + @NotNull(message = "发送人不能为空") private PersonAccountAttribute sender; /**