mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #2607 【开放平台】WxOpenAuthorizerInfo类增加account_status字段
This commit is contained in:
parent
df45a4a25d
commit
bd821c80c1
@ -23,6 +23,7 @@ public class WxOpenAuthorizerInfo implements Serializable {
|
||||
private Map<String, Integer> businessInfo;
|
||||
private String alias;
|
||||
private String qrcodeUrl;
|
||||
private Integer accountStatus;
|
||||
/**
|
||||
* 账号介绍
|
||||
*/
|
||||
|
@ -24,6 +24,7 @@ public class WxOpenAuthorizerInfoGsonAdapter implements JsonDeserializer<WxOpenA
|
||||
authorizationInfo.setAlias(GsonHelper.getString(jsonObject, "alias"));
|
||||
authorizationInfo.setQrcodeUrl(GsonHelper.getString(jsonObject, "qrcode_url"));
|
||||
authorizationInfo.setSignature(GsonHelper.getString(jsonObject, "signature"));
|
||||
authorizationInfo.setAccountStatus(GsonHelper.getInteger(jsonObject, "account_status"));
|
||||
|
||||
if (jsonObject.has("service_type_info")) {
|
||||
authorizationInfo.setServiceTypeInfo(GsonHelper.getInteger(jsonObject.getAsJsonObject("service_type_info"), "id"));
|
||||
|
Loading…
Reference in New Issue
Block a user