mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 22:11:40 +08:00
更改toString方法
This commit is contained in:
parent
e8abad8990
commit
90b4b5c24f
@ -1,5 +1,8 @@
|
||||
package me.chanjar.weixin.mp.bean.result;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@ -33,9 +36,6 @@ public class WxMpUserCumulate implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "WxMpUserCumulate{" +
|
||||
"refDate=" + refDate +
|
||||
", cumulateUser=" + cumulateUser +
|
||||
'}';
|
||||
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
package me.chanjar.weixin.mp.bean.result;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@ -53,11 +56,6 @@ public class WxMpUserSummary implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "WxMpUserSummary{" +
|
||||
"refDate=" + refDate +
|
||||
", userSource=" + userSource +
|
||||
", newUser=" + newUser +
|
||||
", cancelUser=" + cancelUser +
|
||||
'}';
|
||||
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user