Commit 60c473a3129a910bfcd3f7d7d237aa439412d752
1 parent
eed4cf12
MALL-KEFU: 管理端发送消息增加消息类型
Showing
1 changed file
with
4 additions
and
0 deletions
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/kefu/vo/message/KeFuMessageSendReqVO.java
| ... | ... | @@ -13,6 +13,10 @@ public class KeFuMessageSendReqVO { |
| 13 | 13 | @NotNull(message = "会话编号不能为空") |
| 14 | 14 | private Long conversationId; |
| 15 | 15 | |
| 16 | + @Schema(description = "消息类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") | |
| 17 | + @NotNull(message = "消息类型不能为空") | |
| 18 | + private Integer contentType; | |
| 19 | + | |
| 16 | 20 | @Schema(description = "消息", requiredMode = Schema.RequiredMode.REQUIRED) |
| 17 | 21 | @NotEmpty(message = "消息不能为空") |
| 18 | 22 | private String content; | ... | ... |