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 1
1
package me .chanjar .weixin .mp .bean .result ;
2
2
3
+ import org .apache .commons .lang3 .builder .ToStringBuilder ;
4
+ import org .apache .commons .lang3 .builder .ToStringStyle ;
5
+
3
6
import java .io .Serializable ;
4
7
import java .util .Date ;
5
8
@@ -33,9 +36,6 @@ public void setCumulateUser(Integer cumulateUser) {
33
36
34
37
@ Override
35
38
public String toString () {
36
- return "WxMpUserCumulate{" +
37
- "refDate=" + refDate +
38
- ", cumulateUser=" + cumulateUser +
39
- '}' ;
39
+ return ToStringBuilder .reflectionToString (this , ToStringStyle .JSON_STYLE );
40
40
}
41
41
}
Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .mp .bean .result ;
2
2
3
+ import org .apache .commons .lang3 .builder .ToStringBuilder ;
4
+ import org .apache .commons .lang3 .builder .ToStringStyle ;
5
+
3
6
import java .io .Serializable ;
4
7
import java .util .Date ;
5
8
@@ -53,11 +56,6 @@ public void setCancelUser(Integer cancelUser) {
53
56
54
57
@ Override
55
58
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 );
62
60
}
63
61
}
You can’t perform that action at this time.
0 commit comments