fix: include badge fields in live user list

This commit is contained in:
hy001 2026-05-16 01:40:34 +08:00
parent 3692e61b1c
commit a1979f2be7
2 changed files with 60 additions and 28 deletions

View File

@ -3,6 +3,7 @@ package com.red.circle.live.app.dto.clientobject;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
import com.red.circle.other.inner.model.dto.user.props.UserUseBadgeDTO;
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
import java.io.Serial;
import java.io.Serializable;
@ -64,6 +65,16 @@ public class LiveMicUserCO implements Serializable {
*/
private List<UserUsePropsDTO> useProps;
/**
* 佩戴的徽章.
*/
private List<UserUseBadgeDTO> wearBadge;
/**
* 佩戴的荣誉徽章.
*/
private List<UserUseBadgeDTO> wearHonor;
/**
* 角色.
*/
@ -74,6 +85,11 @@ public class LiveMicUserCO implements Serializable {
*/
private Integer charmLevel;
/**
* 财富等级.
*/
private Integer wealthLevel;
/**
* 心动值

View File

@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
import com.red.circle.other.inner.model.dto.user.props.UserUseBadgeDTO;
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
import java.io.Serial;
import java.io.Serializable;
@ -66,6 +67,16 @@ public class LiveMicUser implements Serializable {
*/
private List<UserUsePropsDTO> useProps;
/**
* 佩戴的徽章.
*/
private List<UserUseBadgeDTO> wearBadge;
/**
* 佩戴的荣誉徽章.
*/
private List<UserUseBadgeDTO> wearHonor;
/**
* 角色.
*/
@ -76,6 +87,11 @@ public class LiveMicUser implements Serializable {
*/
private Integer charmLevel;
/**
* 财富等级.
*/
private Integer wealthLevel;
/**
* 心动值
*/