package mp type AccessTokenResponse struct { AccessToken string `json:"access_token"` ExpiresIn int `json:"expires_in"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` } type JsapiTicketResponse struct { Ticket string `json:"ticket"` ExpiresIn int `json:"expires_in"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` } type JsapiReturn struct { AppID string `json:"app_id"` Timestamp int `json:"timestamp"` NonceStr string `json:"nonceStr"` Signature string `json:"signature"` } type OauthTokenResponse struct { AccessToken string `json:"access_token"` ExpiresIn int `json:"expires_in"` OpenID string `json:"openid"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` } type UserInfo struct { OpenID string `json:"openid"` NickName string `json:"nickname"` Sex int `json:"sex"` HeadImgUrl string `json:"headimgurl"` IsExists bool `json:"is_exists"` ErrCode int `json:"errcode"` ErrMsg string `json:"errmsg"` }