Documentation ¶
Index ¶
- type Client
- func (comp *Client) BindTo(ctx context.Context, openAppID string) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) Create(ctx context.Context) (*response.ResponseCreate, error)
- func (comp *Client) GetBinding(ctx context.Context) (*response.ResponseGetBinding, error)
- func (comp *Client) UnbindFrom(ctx context.Context, openAppID string) (*response2.ResponseOpenPlatform, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func (*Client) BindTo ¶
func (comp *Client) BindTo(ctx context.Context, openAppID string) (*response2.ResponseOpenPlatform, error)
将公众号/小程序绑定到开放平台帐号下 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/bind.html
func (*Client) Create ¶
创建开放平台帐号并绑定公众号/小程序 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/create.html
func (*Client) GetBinding ¶
获取公众号/小程序所绑定的开放平台帐号 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/get.html
func (*Client) UnbindFrom ¶
func (comp *Client) UnbindFrom(ctx context.Context, openAppID string) (*response2.ResponseOpenPlatform, error)
将公众号/小程序绑定到开放平台帐号下 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/unbind.html
Click to show internal directories.
Click to hide internal directories.