mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 12:52:27 +08:00
* 添加TODO:待完善接口 * 【模板消息】将message.DataItem改为message.TemplateDataItem * 【群发消息】基本框架 * 群发消息-基本方法 * fix golint * fix:SendWxCard log
35 lines
827 B
Go
35 lines
827 B
Go
package account
|
|
|
|
import "github.com/silenceper/wechat/v2/openplatform/context"
|
|
|
|
//Account 开放平台张哈管理
|
|
//TODO 实现方法
|
|
type Account struct {
|
|
*context.Context
|
|
}
|
|
|
|
//NewAccount new
|
|
func NewAccount(ctx *context.Context) *Account {
|
|
return &Account{ctx}
|
|
}
|
|
|
|
//Create 创建开放平台帐号并绑定公众号/小程序
|
|
func (account *Account) Create(appID string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
//Bind 将公众号/小程序绑定到开放平台帐号下
|
|
func (account *Account) Bind(appID string) error {
|
|
return nil
|
|
}
|
|
|
|
//Unbind 将公众号/小程序从开放平台帐号下解绑
|
|
func (account *Account) Unbind(appID string, openAppID string) error {
|
|
return nil
|
|
}
|
|
|
|
//Get 获取公众号/小程序所绑定的开放平台帐号
|
|
func (account *Account) Get(appID string) (string, error) {
|
|
return "", nil
|
|
}
|