mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 07:23:01 +08:00
修改toString方法
This commit is contained in:
parent
58d10b7deb
commit
748a81b577
@ -2,6 +2,9 @@ package me.chanjar.weixin.mp.bean.pay;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -13,9 +16,6 @@ import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|||||||
@XStreamAlias("xml")
|
@XStreamAlias("xml")
|
||||||
public class WxRedpackResult implements Serializable {
|
public class WxRedpackResult implements Serializable {
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = -4837415036337132073L;
|
private static final long serialVersionUID = -4837415036337132073L;
|
||||||
|
|
||||||
@XStreamAlias("return_code")
|
@XStreamAlias("return_code")
|
||||||
@ -100,19 +100,6 @@ public class WxRedpackResult implements Serializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "WxRedpackResult{" +
|
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
|
||||||
"returnCode=" + this.returnCode +
|
|
||||||
", returnMsg=" + this.returnMsg +
|
|
||||||
", sign=" + this.sign +
|
|
||||||
", errCode=" + this.errCode +
|
|
||||||
", errCodeDes=" + this.errCodeDes +
|
|
||||||
", mchBillno=" + this.mchBillno +
|
|
||||||
", mchId=" + this.mchId +
|
|
||||||
", wxappid=" + this.wxappid +
|
|
||||||
", reOpenid=" + this.reOpenid +
|
|
||||||
", totalAmount=" + this.totalAmount +
|
|
||||||
", sendTime=" + this.sendTime +
|
|
||||||
", sendListid=" + this.sendListid +
|
|
||||||
'}';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user