|
|
@ -63,11 +63,11 @@ type MiniAppOpenidReq struct { |
|
|
|
* 获取小程序openid返回参数 |
|
|
|
*/ |
|
|
|
type MiniAppOpenidRes struct { |
|
|
|
Openid string |
|
|
|
SessionKey interface{} |
|
|
|
Unionid interface{} |
|
|
|
NickName string |
|
|
|
AvatarUrl string |
|
|
|
Openid string `json:"openid"` |
|
|
|
SessionKey interface{} `json:"session_key"` |
|
|
|
Unionid interface{} `json:"unionid"` |
|
|
|
NickName string `json:"nick_name"` |
|
|
|
AvatarUrl string `json:"avatar_url"` |
|
|
|
WxApiRes |
|
|
|
} |
|
|
|
|
|
|
@ -75,11 +75,11 @@ type MiniAppOpenidRes struct { |
|
|
|
* 获取公众号openid返回参数 |
|
|
|
*/ |
|
|
|
type MpOpenidRes struct { |
|
|
|
AccessToken string |
|
|
|
ExpiresIn string |
|
|
|
RefreshToken string |
|
|
|
Openid string |
|
|
|
Scope string |
|
|
|
AccessToken string `json:"access_token"` |
|
|
|
ExpiresIn string `json:"expires_in"` |
|
|
|
RefreshToken string `json:"refresh_token"` |
|
|
|
Openid string `json:"openid"` |
|
|
|
Scope string `json:"scope"` |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|