You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
424 B

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