open

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Open

type Open struct {
	// contains filtered or unexported fields
}

Open 开放平台账号管理

func New

func New(account contracts.AccountInterface) *Open

func (*Open) Bind

func (o *Open) Bind(appId, openAppId string) error

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

func (*Open) Create

func (o *Open) Create(appId string) (string, error)

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

func (*Open) Get

func (o *Open) Get(appId string) (string, error)

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

func (*Open) Unbind

func (o *Open) Unbind(appId, openAppId string) error

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

Jump to

Keyboard shortcuts

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