mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-09 15:12:26 +08:00
28
user/user.go
28
user/user.go
@@ -29,20 +29,20 @@ func NewUser(context *context.Context) *User {
|
|||||||
type Info struct {
|
type Info struct {
|
||||||
util.CommonError
|
util.CommonError
|
||||||
|
|
||||||
Subscribe int32 `json:"subscribe"`
|
Subscribe int32 `json:"subscribe"`
|
||||||
OpenID string `json:"openid"`
|
OpenID string `json:"openid"`
|
||||||
Nickname string `json:"nickname"`
|
Nickname string `json:"nickname"`
|
||||||
Sex int32 `json:"sex"`
|
Sex int32 `json:"sex"`
|
||||||
City string `json:"city"`
|
City string `json:"city"`
|
||||||
Country string `json:"country"`
|
Country string `json:"country"`
|
||||||
Province string `json:"province"`
|
Province string `json:"province"`
|
||||||
Language string `json:"language"`
|
Language string `json:"language"`
|
||||||
Headimgurl string `json:"headimgurl"`
|
Headimgurl string `json:"headimgurl"`
|
||||||
SubscribeTime int32 `json:"subscribe_time"`
|
SubscribeTime int32 `json:"subscribe_time"`
|
||||||
UnionID string `json:"unionid"`
|
UnionID string `json:"unionid"`
|
||||||
Remark string `json:"remark"`
|
Remark string `json:"remark"`
|
||||||
GroupID int32 `json:"groupid"`
|
GroupID int32 `json:"groupid"`
|
||||||
TagidList []string `json:"tagid_list"`
|
TagidList []int32 `json:"tagid_list"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//GetUserInfo 获取用户基本信息
|
//GetUserInfo 获取用户基本信息
|
||||||
|
|||||||
Reference in New Issue
Block a user