Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccessTokenServer core.AccessTokenServer WechatClient *core.Client )
Functions ¶
func WxCallbackHandler ¶
wxCallbackHandler 是处理回调请求的 http handler.
- 不同的 web 框架有不同的实现
- 一般一个 handler 处理一个公众号的回调请求(当然也可以处理多个, 这里我只处理一个)
func WxCheck ¶
@Summary 微信校验 @produce text/xml @Param echostr query string true "echostr" @Param signature query string true "signature" @Param timestamp query string true "timestamp" @Param nonce query string true "nonce" @Success 200 {string} string "return the querry echostr" @failure 400 {string} string "return the errormsg" @Router /wx/check [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.