mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
重构代码,将用户管理、分组管理以及二维码相关的接口分别移到单独类中管理
This commit is contained in:
@@ -45,4 +45,9 @@ public class WxMpQrCodeTicket implements Serializable {
|
||||
public static WxMpQrCodeTicket fromJson(String json) {
|
||||
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpQrCodeTicket.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return WxMpGsonBuilder.INSTANCE.create().toJson(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,4 +44,9 @@ public class WxMpUserList {
|
||||
public static WxMpUserList fromJson(String json) {
|
||||
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpUserList.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return WxMpGsonBuilder.INSTANCE.create().toJson(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user