Skip to content

Commit

Permalink
🎨 #2607 【开放平台】WxOpenAuthorizerInfo类增加account_status字段
Browse files Browse the repository at this point in the history
  • Loading branch information
masteranthoneyd authored and binarywang committed Apr 21, 2022
1 parent df45a4a commit bd821c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class WxOpenAuthorizerInfo implements Serializable {
private Map<String, Integer> businessInfo;
private String alias;
private String qrcodeUrl;
private Integer accountStatus;
/**
* 账号介绍
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public WxOpenAuthorizerInfo deserialize(JsonElement jsonElement, Type type, Json
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"));
Expand Down

0 comments on commit bd821c8

Please sign in to comment.