go-common/app/interface/bbq/wechat/internal/model/model.go

22 lines
424 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
// const 常量
const ()
// WXToken 返回token
type WXToken struct {
Token string `json:"access_token"`
Expires int `json:"expires_in"`
}
// WXTicket 返回ticket
type WXTicket struct {
Ticket string `json:"ticket"`
}
// TokenReq .
type TokenReq struct {
Noncestr string `json:"nonce" form:"nonce" validate:"required"`
Timestamp string `json:"timestamp" form:"timestamp" validate:"required"`
}