Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageGetReq ¶
type MessageGetReq struct { g.Meta `path:"/message" method:"GET"` Signature string `json:"signature"` Timestamp string `json:"timestamp"` Nonce string `json:"nonce"` Echostr string `json:"echostr"` }
MessageGetReq 消息请求
type MessagePostReq ¶
MessagePostReq 消息请求
type WeixinmpOpenController ¶
type WeixinmpOpenController struct {
*cool.ControllerSimple
}
func (*WeixinmpOpenController) MessageGet ¶
func (c *WeixinmpOpenController) MessageGet(ctx context.Context, req *MessageGetReq) (res *MessageGetRes, err error)
MessageGet 消息接收 用于微信公众号接入认证
func (*WeixinmpOpenController) MessagePost ¶
func (c *WeixinmpOpenController) MessagePost(ctx context.Context, req *MessagePostReq) (res *MessagePostRes, err error)
MessagePost 消息接收 用于接收微信公众号消息
Click to show internal directories.
Click to hide internal directories.