mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-02 04:29:48 +08:00
🎨 #2063 【企业微信】企业微信网页授权获取用户信息增加external_userid字段
This commit is contained in:
@ -76,6 +76,7 @@ public class WxCpOAuth2ServiceImpl implements WxCpOAuth2Service {
|
||||
.openId(GsonHelper.getString(jo, "OpenId"))
|
||||
.userTicket(GsonHelper.getString(jo, "user_ticket"))
|
||||
.expiresIn(GsonHelper.getString(jo, "expires_in"))
|
||||
.externalUserId(GsonHelper.getString(jo, "external_userid"))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
@ -25,4 +25,5 @@ public class WxCpOauth2UserInfo {
|
||||
private String userId;
|
||||
private String userTicket;
|
||||
private String expiresIn;
|
||||
private String externalUserId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user