offia

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Zlib Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearQuota

func ClearQuota(api *api.Api) error

所有api调用(包括第三方帮其调用)次数进行清零,每月10次 https://api.weixin.qq.com/cgi-bin/clear_quota?access_token=ACCESS_TOKEN

func GenShortUrl

func GenShortUrl(api *api.Api, longUrl string) (string, error)

长链接转短链接接口 https://api.weixin.qq.com/cgi-bin/shorturl?access_token=ACCESS_TOKEN

func GetCallbackIP

func GetCallbackIP(api *api.Api) ([]string, error)

获取微信服务器IP地址 https://api.weixin.qq.com/cgi-bin/getcallbackip?access_token=ACCESS_TOKEN

Types

This section is empty.

Directories

Path Synopsis
* * 事件数据结构 * * 微信服务器在五秒内收不到响应会断掉连接,并且重新发起请求,总共重试三次。
* * 事件数据结构 * * 微信服务器在五秒内收不到响应会断掉连接,并且重新发起请求,总共重试三次。

Jump to

Keyboard shortcuts

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