114 lines
4.0 KiB
Go
114 lines
4.0 KiB
Go
package user
|
|
|
|
import "gitee.ltd/lxh/xybot/base"
|
|
|
|
// GetMyQRCodeResponse
|
|
// @description: 获取个人二维码返回值
|
|
type GetMyQRCodeResponse struct {
|
|
BaseResponse struct {
|
|
Ret int `json:"ret"`
|
|
ErrMsg struct {
|
|
} `json:"errMsg"`
|
|
} `json:"BaseResponse"`
|
|
Qrcode struct {
|
|
ILen int `json:"iLen"`
|
|
Buffer string `json:"buffer"` // 二维码图片数据 base64字符串
|
|
} `json:"qrcode"`
|
|
}
|
|
|
|
// GetProfileResponse
|
|
// @description: 获取个人信息返回值
|
|
type GetProfileResponse struct {
|
|
BaseResponse struct {
|
|
Ret int `json:"ret"`
|
|
ErrMsg struct {
|
|
} `json:"errMsg"`
|
|
} `json:"baseResponse"`
|
|
UserInfo struct {
|
|
BitFlag int `json:"BitFlag"`
|
|
UserName base.SKBuiltinStringT `json:"UserName"` // 微信原始Id
|
|
NickName base.SKBuiltinStringT `json:"NickName"` // 昵称
|
|
BindUin int `json:"BindUin"`
|
|
BindEmail base.SKBuiltinStringT `json:"BindEmail"`
|
|
BindMobile base.SKBuiltinStringT `json:"BindMobile"` // 绑定的手机号
|
|
Status int `json:"Status"`
|
|
ImgLen int `json:"ImgLen"`
|
|
Sex int `json:"Sex"` // 性别
|
|
PersonalCard int `json:"PersonalCard"`
|
|
DisturbSetting struct {
|
|
NightSetting int `json:"NightSetting"`
|
|
NightTime struct {
|
|
BeginTime int `json:"BeginTime"`
|
|
EndTime int `json:"EndTime"`
|
|
} `json:"NightTime"`
|
|
AllDaySetting int `json:"AllDaySetting"`
|
|
AllDayTim struct {
|
|
BeginTime int `json:"BeginTime"`
|
|
EndTime int `json:"EndTime"`
|
|
} `json:"AllDayTim"`
|
|
} `json:"DisturbSetting"`
|
|
PluginFlag int `json:"PluginFlag"`
|
|
VerifyFlag int `json:"VerifyFlag"`
|
|
Point int `json:"Point"`
|
|
Experience int `json:"Experience"`
|
|
Level int `json:"Level"`
|
|
LevelLowExp int `json:"LevelLowExp"`
|
|
LevelHighExp int `json:"LevelHighExp"`
|
|
PluginSwitch int `json:"PluginSwitch"`
|
|
GmailList struct {
|
|
Count int `json:"Count"`
|
|
} `json:"GmailList"`
|
|
Alias string `json:"Alias"` // 自定义的微信号
|
|
WeiboFlag int `json:"WeiboFlag"`
|
|
FaceBookFlag int `json:"FaceBookFlag"`
|
|
FbuserId int `json:"FbuserId"`
|
|
AlbumStyle int `json:"AlbumStyle"`
|
|
AlbumFlag int `json:"AlbumFlag"`
|
|
TxnewsCategory int `json:"TxnewsCategory"`
|
|
Country string `json:"Country"` // 国家
|
|
} `json:"userInfo"`
|
|
UserInfoExt struct {
|
|
SnsUserInfo struct {
|
|
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"`
|
|
BigChatRoomQuota int `json:"BigChatRoomQuota"`
|
|
BigChatRoomInvite int `json:"BigChatRoomInvite"`
|
|
BigHeadImgUrl string `json:"BigHeadImgUrl"` // 大头像地址
|
|
SmallHeadImgUrl string `json:"SmallHeadImgUrl"` // 小头像地址
|
|
MainAcctType int `json:"MainAcctType"`
|
|
ExtXml struct {
|
|
} `json:"ExtXml"`
|
|
SafeDeviceList struct {
|
|
Count int `json:"Count"`
|
|
List []struct {
|
|
Name string `json:"Name"`
|
|
Uuid string `json:"Uuid"`
|
|
DeviceType string `json:"DeviceType"`
|
|
CreateTime int `json:"CreateTime"`
|
|
} `json:"List"`
|
|
} `json:"SafeDeviceList"`
|
|
SafeDevice int `json:"SafeDevice"`
|
|
GrayscaleFlag int `json:"GrayscaleFlag"`
|
|
RegCountry string `json:"RegCountry"`
|
|
LinkedinContactItem struct {
|
|
} `json:"LinkedinContactItem"`
|
|
PatternLockInfo struct {
|
|
PatternVersion int `json:"PatternVersion"`
|
|
Sign struct {
|
|
ILen int `json:"iLen"`
|
|
Buffer string `json:"buffer"`
|
|
} `json:"Sign"`
|
|
LockStatus int `json:"LockStatus"`
|
|
} `json:"PatternLockInfo"`
|
|
PayWalletType int `json:"PayWalletType"`
|
|
WalletRegion int `json:"WalletRegion"`
|
|
ExtStatus int64 `json:"ExtStatus"`
|
|
UserStatus int `json:"UserStatus"`
|
|
} `json:"userInfoExt"`
|
|
}
|