go-common/app/interface/bbq/wechat/internal/model/model.go
2019-04-22 18:49:16 +08:00

22 lines
424 B
Go

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"`
}