🎨 修改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

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

View File

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