account

package
v2.0.0-...-e071849 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	*context.Context
}

Account 开放平台张哈管理 TODO 实现方法

func NewAccount

func NewAccount(ctx *context.Context) *Account

NewAccount new

func (*Account) Bind

func (account *Account) Bind(appID string) error

Bind 将公众号/小程序绑定到开放平台帐号下

func (*Account) Create

func (account *Account) Create(appID string) (string, error)

Create 创建开放平台帐号并绑定公众号/小程序

func (*Account) Get

func (account *Account) Get(appID string) (string, error)

Get 获取公众号/小程序所绑定的开放平台帐号

func (*Account) Unbind

func (account *Account) Unbind(appID string, openAppID string) error

Unbind 将公众号/小程序从开放平台帐号下解绑

Jump to

Keyboard shortcuts

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