1.优化爱心、愤怒、礼炮、火箭等消息标记的注释
This commit is contained in:
@@ -22,7 +22,6 @@ public class ChatMessageMarkDTO {
|
||||
@Schema(description ="消息id")
|
||||
private Long msgId;
|
||||
|
||||
@Schema(description ="标记类型 1点赞 2举报")
|
||||
private Integer markType;
|
||||
|
||||
@Schema(description ="动作类型 1确认 2取消")
|
||||
|
||||
@@ -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), // 表达不满
|
||||
|
||||
@@ -25,7 +25,6 @@ public class ChatMessageMarkReq {
|
||||
* @see com.hula.core.chat.domain.enums.MessageMarkTypeEnum
|
||||
*/
|
||||
@NotNull
|
||||
@Schema(description ="标记类型 1点赞 2举报")
|
||||
private Integer markType;
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user