123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package models
- type WxLoginReq struct {
- Code string `description:"微信code"`
- }
- type WxToken struct {
- AccessToken string
- ExpiresIn int64
- Id int64
- }
- type WxTicket struct {
- Errcode int `json:"errcode"`
- Errmsg string `json:"errmsg"`
- Ticket string `json:"ticket"`
- }
- type WechatSign struct {
- AppId string
- NonceStr string
- Timestamp int64
- Url string
- Signature string
- RawString string
- }
- type WxAccessToken struct {
- AccessToken string `json:"access_token"`
- ExpiresIn int `json:"expires_in"`
- RefreshToken string `json:"refresh_token"`
- Openid string `json:"openid"`
- Unionid string `json:"unionid"`
- Scope string `json:"scope"`
- Errcode int `json:"errcode"`
- Errmsg string `json:"errmsg"`
- }
- type WxUsers struct {
- Total int
- Count int
- Data struct {
- Openid []string
- }
- NextOpenid string
- }
- type WxCheckContentJson struct {
- AccessToken string `json:"access_token"`
- ExpiresIn int `json:"expires_in"`
- RefreshToken string `json:"refresh_token"`
- Openid string `json:"openid"`
- Unionid string `json:"unionid"`
- Scope string `json:"scope"`
- Errcode int `json:"errcode"`
- Errmsg string `json:"errmsg"`
- }
|