Преглед на файлове

Merge pull request #112 from withinthefog/openid

企业号oauth2认证接口返回值中添加openid
master
Binary Wang преди 8 години
committed by GitHub
родител
ревизия
017e6bb0fe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java

+ 1
- 1
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/WxCpServiceImpl.java Целия файл

@@ -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


Зареждане…
Отказ
Запис