1.优化爱心、愤怒、礼炮、火箭等消息标记的注释

This commit is contained in:
乾乾
2025-05-07 18:20:43 +08:00
parent 38f5056241
commit ba7688bd1e
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,6 @@ public class ChatMessageMarkDTO {
@Schema(description ="消息id")
private Long msgId;
@Schema(description ="标记类型 1点赞 2举报")
private Integer markType;
@Schema(description ="动作类型 1确认 2取消")

View File

@@ -16,7 +16,7 @@ import java.util.stream.Collectors;
@Getter
public enum MessageMarkTypeEnum {
LIKE(1, "点赞", 10),
DISLIKE(2, "点踩", 5),
DISLIKE(2, "不满", 5),
// 新增表情互动类型
HEART(3, "爱心", 15), // 表达喜爱
ANGRY(4, "愤怒", 20), // 表达不满

View File

@@ -25,7 +25,6 @@ public class ChatMessageMarkReq {
* @see com.hula.core.chat.domain.enums.MessageMarkTypeEnum
*/
@NotNull
@Schema(description ="标记类型 1点赞 2举报")
private Integer markType;
@NotNull

View File

@@ -24,7 +24,9 @@ public class WSMsgMark {
private Long uid;
@Schema(description ="消息id")
private Long msgId;
@Schema(description ="标记类型 1点赞 2举报")
/**
* @see com.hula.core.chat.domain.enums.MessageMarkTypeEnum
*/
private Integer markType;
@Schema(description ="被标记的数量")
private Integer markCount;