Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { util.CommonError Subscribe int32 `json:"subscribe"` OpenID string `json:"openid"` Nickname string `json:"nickname"` Sex int32 `json:"sex"` City string `json:"city"` Country string `json:"country"` Province string `json:"province"` Language string `json:"language"` Headimgurl string `json:"headimgurl"` SubscribeTime int32 `json:"subscribe_time"` UnionID string `json:"unionid"` Remark string `json:"remark"` GroupID int32 `json:"groupid"` TagidList []int32 `json:"tagid_list"` SubscribeScene string `json:"subscribe_scene"` QrScene int `json:"qr_scene"` QrSceneStr string `json:"qr_scene_str"` }
Info 用户基本信息
type OpenidList ¶
type OpenidList struct { Total int `json:"total"` Count int `json:"count"` Data struct { OpenIDs []string `json:"openid"` } `json:"data"` NextOpenID string `json:"next_openid"` }
OpenidList 用户列表
type User ¶
User 用户管理
func (*User) GetUserInfo ¶
GetUserInfo 获取用户基本信息
func (*User) ListAllUserOpenIDs ¶
ListAllUserOpenIDs 返回所有用户OpenID列表
func (*User) ListUserOpenIDs ¶
func (user *User) ListUserOpenIDs(nextOpenid ...string) (*OpenidList, error)
ListUserOpenIDs 返回用户列表
func (*User) UpdateRemark ¶
UpdateRemark 设置用户备注名
Click to show internal directories.
Click to hide internal directories.