Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaRes ¶
type UserInfoReq ¶
type UserInfoReq struct {
VipVersion string `query:"vip_version"` // 可以选择v2
}
type UserInfoRes ¶
type UserInfoRes struct {
BaiduName string `json:"baidu_name"` // 百度账号
NetDiskName string `json:"netdisk_name"` // 网盘账号
AvatarUrl string `json:"avatar_url"` // 头像地址
VipType types.VipType `json:"vip_type"` // 会员类型。旧含义0普通用户、1普通会员、2超级会员。指定vip_version字段为v2时,0普通用户、1会员VIP用户、2超级会员SVIP用户
Uk int `json:"uk"` // 用户ID
}
func GetUserInfo ¶
func GetUserInfo(req *UserInfoReq, client ...phttp.Client) (*UserInfoRes, error)
Click to show internal directories.
Click to hide internal directories.