File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/result Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11package me .chanjar .weixin .mp .bean .result ;
22
3+ import org .apache .commons .lang3 .builder .ToStringBuilder ;
4+ import org .apache .commons .lang3 .builder .ToStringStyle ;
5+
36import java .io .Serializable ;
47import java .util .Date ;
58
@@ -33,9 +36,6 @@ public void setCumulateUser(Integer cumulateUser) {
3336
3437 @ Override
3538 public String toString () {
36- return "WxMpUserCumulate{" +
37- "refDate=" + refDate +
38- ", cumulateUser=" + cumulateUser +
39- '}' ;
39+ return ToStringBuilder .reflectionToString (this , ToStringStyle .JSON_STYLE );
4040 }
4141}
Original file line number Diff line number Diff line change 11package me .chanjar .weixin .mp .bean .result ;
22
3+ import org .apache .commons .lang3 .builder .ToStringBuilder ;
4+ import org .apache .commons .lang3 .builder .ToStringStyle ;
5+
36import java .io .Serializable ;
47import java .util .Date ;
58
@@ -53,11 +56,6 @@ public void setCancelUser(Integer cancelUser) {
5356
5457 @ Override
5558 public String toString () {
56- return "WxMpUserSummary{" +
57- "refDate=" + refDate +
58- ", userSource=" + userSource +
59- ", newUser=" + newUser +
60- ", cancelUser=" + cancelUser +
61- '}' ;
59+ return ToStringBuilder .reflectionToString (this , ToStringStyle .JSON_STYLE );
6260 }
6361}
You can’t perform that action at this time.
0 commit comments