MALL-KEFU: 管理端发送消息增加消息类型

This commit is contained in:
puhui999 2024-07-02 17:11:45 +08:00
parent eed4cf127e
commit 60c473a312

View File

@ -13,6 +13,10 @@ public class KeFuMessageSendReqVO {
@NotNull(message = "会话编号不能为空")
private Long conversationId;
@Schema(description = "消息类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@NotNull(message = "消息类型不能为空")
private Integer contentType;
@Schema(description = "消息", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "消息不能为空")
private String content;