mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-15 10:45:15 +08:00
oauth2认证接口返回值中添加openid
This commit is contained in:
@@ -491,7 +491,7 @@ public class WxCpServiceImpl implements WxCpService {
|
||||
String responseText = get(url, null);
|
||||
JsonElement je = new JsonParser().parse(responseText);
|
||||
JsonObject jo = je.getAsJsonObject();
|
||||
return new String[]{GsonHelper.getString(jo, "UserId"), GsonHelper.getString(jo, "DeviceId")};
|
||||
return new String[]{GsonHelper.getString(jo, "UserId"), GsonHelper.getString(jo, "DeviceId"), GsonHelper.getString(jo, "OpenId")};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user