account

package
v3.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

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 NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

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

func (comp *Client) Create(ctx context.Context) (*response.ResponseCreate, error)

创建开放平台帐号并绑定公众号/小程序 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/create.html

func (*Client) GetBinding

func (comp *Client) GetBinding(ctx context.Context) (*response.ResponseGetBinding, error)

获取公众号/小程序所绑定的开放平台帐号 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL