wechat

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 4 Imported by: 1

README

QQ互联基本接口封装

Sync to Gitee version

微信订阅号接口封装

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wechat

type Wechat struct {
	Token  string
	AESKey string
}

func (*Wechat) CheckSignature

func (wc *Wechat) CheckSignature(signature string, timestamp string, nonce string) bool

CheckSignature 检查签名是否合法

如果验证成功,应该原样返回接收到的 echostr https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Access_Overview.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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