mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
♻️ 无效字段过时标记处理
This commit is contained in:
parent
2175e94158
commit
bcd5806cdc
@ -21,8 +21,16 @@ public class WxMpUser implements Serializable {
|
|||||||
|
|
||||||
private Boolean subscribe;
|
private Boolean subscribe;
|
||||||
private String openId;
|
private String openId;
|
||||||
|
/**
|
||||||
|
* @deprecated 2021年12月27日之后不再输出
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
private String nickname;
|
private String nickname;
|
||||||
private String language;
|
private String language;
|
||||||
|
/**
|
||||||
|
* @deprecated 2021年12月27日之后不再输出
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
private String headImgUrl;
|
private String headImgUrl;
|
||||||
private Long subscribeTime;
|
private Long subscribeTime;
|
||||||
/**
|
/**
|
||||||
@ -60,7 +68,6 @@ public class WxMpUser implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String qrSceneStr;
|
private String qrSceneStr;
|
||||||
|
|
||||||
|
|
||||||
public static WxMpUser fromJson(String json) {
|
public static WxMpUser fromJson(String json) {
|
||||||
return WxMpGsonBuilder.create().fromJson(json, WxMpUser.class);
|
return WxMpGsonBuilder.create().fromJson(json, WxMpUser.class);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user