feat(app): update
This commit is contained in:
63
pkg/dto/TimelineDTO.go
Normal file
63
pkg/dto/TimelineDTO.go
Normal file
@ -0,0 +1,63 @@
|
||||
package dto
|
||||
|
||||
type TimelineDTO struct {
|
||||
TimelineId string
|
||||
ContentType string //1=动态 2=视频
|
||||
UserId string
|
||||
AvatarDecoration string // 用户头像框
|
||||
DecorationFormat string
|
||||
TextContent string
|
||||
ImgUrls string
|
||||
ImgSizes string
|
||||
Status string
|
||||
CreateTime string
|
||||
ViewCount string
|
||||
LoveCount string
|
||||
ReplyCount string
|
||||
ImgDTOList []TimelineImgDTO `json:"ImgDTOList,omitempty"`
|
||||
VideoDTO TimelineVideoDTO `json:"VideoDTO,omitempty"`
|
||||
CityName string
|
||||
AddressName string
|
||||
BriefDesc string // 简要说明
|
||||
DashangCount string
|
||||
DashangDiamond string
|
||||
|
||||
//User信息
|
||||
NickName string
|
||||
Avatar string
|
||||
Gender string
|
||||
Birthday string
|
||||
VipConfig UserVipConfigDTO
|
||||
UserLastActiveTime string // 用户在线时间
|
||||
IsRecommend string
|
||||
IsPraised string // 是否点赞过 1=是 2=否
|
||||
Dist string // 距离
|
||||
IsSeller string
|
||||
OrderStatus string `json:"OrderStatus,omitempty"` // 订单状态 idle=空闲 accepting=接单中
|
||||
CreateTimeStr string
|
||||
ShareData ShareDTO
|
||||
IsFollowed string // 是否关注过
|
||||
UserSkillId string `json:"UserSkillId,omitempty"`
|
||||
SkillName string `json:"SkillName,omitempty"`
|
||||
PriceStr string `json:"PriceStr,omitempty"`
|
||||
}
|
||||
|
||||
// 动态的图片对象
|
||||
type TimelineImgDTO struct {
|
||||
ImgPhotoKey string `json:"ImgPhotoKey,omitempty"`
|
||||
ImgUrl string
|
||||
Width string
|
||||
Height string
|
||||
}
|
||||
|
||||
// 动态的视频对象
|
||||
type TimelineVideoDTO struct {
|
||||
VideoKey string `json:"VideoKey,omitempty"`
|
||||
Width string
|
||||
Height string
|
||||
Duration string
|
||||
VideoUrl string
|
||||
VideoGifUrl string
|
||||
VideoWaterUrl string
|
||||
VideoCoverImgUrl string
|
||||
}
|
||||
Reference in New Issue
Block a user