feat(app): update

This commit is contained in:
Yangtao
2025-11-19 14:24:13 +08:00
parent 1eac66d7fd
commit 0c34585649
329 changed files with 10760 additions and 281 deletions

49
pkg/dto/ListUserDTO.go Normal file
View File

@ -0,0 +1,49 @@
package dto
// 列表用户对象
type ListUserDTO struct {
UserId string
NickName string
Avatar string
Gender string
Birthday string
Sign string
ViewFlag string
UserNo string
VipLevel string
IsFollowTa string `json:"IsFollowTa,omitempty"` // 是否关注他
ActiveTimeHint string `json:"ActiveTimeHint,omitempty"` // 活跃时间
TaFollowMe string `json:"TaFollowMe,omitempty"`
WellNoIcon string `json:"WellNoIcon,omitempty"` // 靓号ICON
VipConfig UserVipConfigDTO `json:"VipConfig,omitempty"` //vip配置
IsHidden string `json:"IsHidden,omitempty"` // 隐身
InRoomSchema string `json:"InRoomSchema,omitempty"` // 在房间的schema
}
// 列表主播对象
type ListAnchorDTO struct {
UserId string
NickName string
Avatar string
Birthday string
Gender string
ChatroomId string
ChatroomName string
RoomNo string
RoomHot string
IconList []VipIconDTO
SchemaUrl string
RoomStatus string
}
func (userDTo ListUserDTO) ToListAnchorDTO() (result ListAnchorDTO) {
result.UserId = userDTo.UserId
result.NickName = userDTo.NickName
result.Avatar = userDTo.Avatar
result.Birthday = userDTo.Birthday
result.Gender = userDTo.Gender
return
}