mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
修复支付结果通知缺失CDATA部分,导致微信重复发送通知
This commit is contained in:
parent
68fbb2ee3e
commit
da6cd44502
@ -2,7 +2,10 @@ package com.github.binarywang.wxpay.bean;
|
||||
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamConverter;
|
||||
import com.thoughtworks.xstream.annotations.XStreamOmitField;
|
||||
|
||||
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
||||
import me.chanjar.weixin.common.util.xml.XStreamInitializer;
|
||||
|
||||
@XStreamAlias("xml")
|
||||
@ -13,7 +16,9 @@ public class WxPayOrderNotifyResponse {
|
||||
private transient static final String SUCCESS = "SUCCESS";
|
||||
|
||||
@XStreamAlias("return_code")
|
||||
@XStreamConverter(value = XStreamCDataConverter.class)
|
||||
private String returnCode;
|
||||
@XStreamConverter(value = XStreamCDataConverter.class)
|
||||
@XStreamAlias("return_msg")
|
||||
private String returnMsg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user