admin

package
v0.0.0-...-e6e8425 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 5 Imported by: 0

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 MessageGetRes

type MessageGetRes struct {
}

MessageGetRes 消息响应

type MessagePostReq

type MessagePostReq struct {
	g.Meta `path:"/message" method:"POST"`
}

MessagePostReq 消息请求

type MessagePostRes

type MessagePostRes struct {
}

MessagePostRes 消息响应

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 消息接收 用于接收微信公众号消息

Jump to

Keyboard shortcuts

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