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