Documentation ¶
Index ¶
- type Client
- func (comp *Client) BatchGet(data *request.RequestBatchGetUserInfo) (*response.ResponseBatchGetUserInfo, error)
- func (comp *Client) Blacklist(beginOpenID string) (*response.ResponseBlacklist, error)
- func (comp *Client) Block(openIDList []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) ChangeOpenID(fromAppID string, openIDList []string) (*response.ResponseChangeOpenID, error)
- func (comp *Client) Get(openID string, lang string) (*response.ResponseGetUserInfo, error)
- func (comp *Client) List(nextOpenID string) (*response.ResponseGetUserList, error)
- func (comp *Client) Remark(openID string, remark string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) Unblock(openIDList []string) (*response2.ResponseOfficialAccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, *tag.Client)
func (*Client) BatchGet ¶
func (comp *Client) BatchGet(data *request.RequestBatchGetUserInfo) (*response.ResponseBatchGetUserInfo, error)
func (*Client) Blacklist ¶
func (comp *Client) Blacklist(beginOpenID string) (*response.ResponseBlacklist, error)
黑名单管理 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
func (*Client) Block ¶
func (comp *Client) Block(openIDList []string) (*response2.ResponseOfficialAccount, error)
拉黑用户 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
func (*Client) ChangeOpenID ¶
func (comp *Client) ChangeOpenID(fromAppID string, openIDList []string) (*response.ResponseChangeOpenID, error)
帐号迁移 转换 openid https://developers.weixin.qq.com/doc/offiaccount/User_Management/Getting_a_User_List.html
func (*Client) List ¶
func (comp *Client) List(nextOpenID string) (*response.ResponseGetUserList, error)
获取用户列表 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Getting_a_User_List.html
func (*Client) Remark ¶
func (comp *Client) Remark(openID string, remark string) (*response2.ResponseOfficialAccount, error)
设置用户备注名 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Configuring_user_notes.html
func (*Client) Unblock ¶
func (comp *Client) Unblock(openIDList []string) (*response2.ResponseOfficialAccount, error)
取消拉黑用户 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html
Click to show internal directories.
Click to hide internal directories.