♻️ 无效字段过时标记处理

This commit is contained in:
Scruel Tao 2021-12-27 15:01:25 +08:00 committed by GitHub
parent 2175e94158
commit bcd5806cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,16 @@ public class WxMpUser implements Serializable {
private Boolean subscribe;
private String openId;
/**
* @deprecated 2021年12月27日之后不再输出
*/
@Deprecated
private String nickname;
private String language;
/**
* @deprecated 2021年12月27日之后不再输出
*/
@Deprecated
private String headImgUrl;
private Long subscribeTime;
/**
@ -60,7 +68,6 @@ public class WxMpUser implements Serializable {
*/
private String qrSceneStr;
public static WxMpUser fromJson(String json) {
return WxMpGsonBuilder.create().fromJson(json, WxMpUser.class);
}