weixin

package
v1.8.106 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Zlib Imports: 12 Imported by: 0

README

./mini 目录是小程序

./message ./customer 客服消息 ./template 模板消息

./offiaccount 公众号/服务号 ./request 相关服务号信息 ./template 服务号模板消息

./work 企业微信

./app3 第三方应用

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken(tk token.Token, d data.D) (tokenaccess.Token, error)

func GetService added in v1.0.28

func GetService() token.Service

func GetStableAccessToken added in v1.8.102

func GetStableAccessToken(tk token.Token, d data.D) (tokenaccess.Token, error)

GetStableAccessToken 获取稳定版接口调用凭据 获取公众号全局后台接口调用凭据,有效期最长为7200s,开发者需要进行妥善保存; 有两种调用模式: 1. 普通模式,access_token 有效期内重复调用该接口不会更新 access_token,绝大部分场景下使用该模式;2. 强制刷新模式,会导致上次获取的 access_token 失效,并返回新的 access_token; 该接口调用频率限制为 1万次 每分钟,每天限制调用 50w 次; 与获取Access token获取的调用凭证完全隔离,互不影响。该接口仅支持 POST JSON 形式的调用;

func GetWebService added in v1.0.28

func GetWebService() token.Service

func NewToken

func NewToken(app token.App) token.Token

func NewWebToken added in v1.0.30

func NewWebToken(app token.App) token.Token

Types

This section is empty.

Directories

Path Synopsis
message
*
*
*

Jump to

Keyboard shortcuts

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