diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxTerminationContractResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxTerminationContractResult.java index e51aed714cd9c566de033e3151c318a6c96131f1..a02373f6d6191c3bd621742afa6cb5e891779ea5 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxTerminationContractResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxTerminationContractResult.java @@ -20,6 +20,7 @@ import java.io.Serializable; @Data @AllArgsConstructor @NoArgsConstructor +@XStreamAlias("xml") public class WxTerminationContractResult extends BaseWxPayResult implements Serializable { private static final long serialVersionUID = 1L; @@ -27,7 +28,7 @@ public class WxTerminationContractResult extends BaseWxPayResult implements Seri /** * 委托代扣协议ID */ - @XStreamAlias("contractId") + @XStreamAlias("contract_id") private String contractId; /**