mirror of
https://github.com/silenceper/wechat.git
synced 2026-03-01 00:35:26 +08:00
企业微信 OAuth2:支持获取 ExternalUserID (#565)
This commit is contained in:
@@ -62,6 +62,7 @@ type ResUserInfo struct {
|
|||||||
DeviceID string `json:"DeviceId"`
|
DeviceID string `json:"DeviceId"`
|
||||||
// 非企业成员授权时返回
|
// 非企业成员授权时返回
|
||||||
OpenID string `json:"OpenId"`
|
OpenID string `json:"OpenId"`
|
||||||
|
ExternalUserID string `json:"external_userid"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserFromCode 根据code获取用户信息
|
// UserFromCode 根据code获取用户信息
|
||||||
|
|||||||
Reference in New Issue
Block a user