🎨 修改SnsBgObjectId字段类型为uint以提高数据一致性

This commit is contained in:
李寻欢 2025-04-24 08:38:48 +08:00
parent 1c77ce02eb
commit 06b0e8384c
3 changed files with 8 additions and 8 deletions

View File

@ -111,7 +111,7 @@ type ContactListItem struct {
SmallHeadImgUrl string `json:"SmallHeadImgUrl"`
SnsUserInfo struct {
SnsBgImgId string `json:"SnsBgimgId"`
SnsBgObjectId int `json:"SnsBgobjectId"`
SnsBgObjectId uint `json:"SnsBgobjectId"`
SnsFlag int `json:"SnsFlag"`
SnsFlagEx int `json:"SnsFlagEx"`
} `json:"SnsUserInfo"`

View File

@ -107,9 +107,9 @@ type ChatroomInfoItem struct {
AlbumStyle int `json:"AlbumStyle"`
AlbumFlag int `json:"AlbumFlag"`
SnsUserInfo struct {
SnsFlag int `json:"SnsFlag"`
SnsBgobjectId int `json:"SnsBgobjectId"`
SnsFlagEx int `json:"SnsFlagEx"`
SnsFlag int `json:"SnsFlag"`
SnsBgobjectId uint `json:"SnsBgobjectId"`
SnsFlagEx int `json:"SnsFlagEx"`
} `json:"SnsUserInfo"`
SmallHeadImgUrl string `json:"SmallHeadImgUrl"` // 头像
CustomizedInfo struct {

View File

@ -69,10 +69,10 @@ type GetProfileResponse struct {
} `json:"userInfo"`
UserInfoExt struct {
SnsUserInfo struct {
SnsFlag int `json:"SnsFlag"`
SnsBgImgId string `json:"SnsBgimgId"` // 朋友圈背景图地址
SnsBgObjectId float64 `json:"SnsBgobjectId"`
SnsFlagEx int `json:"SnsFlagEx"`
SnsFlag int `json:"SnsFlag"`
SnsBgImgId string `json:"SnsBgimgId"` // 朋友圈背景图地址
SnsBgObjectId uint `json:"SnsBgobjectId"`
SnsFlagEx int `json:"SnsFlagEx"`
} `json:"SnsUserInfo"`
MyBrandList string `json:"MyBrandList"`
BigChatRoomSize int `json:"BigChatRoomSize"`