mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 20:57:47 +08:00
🎨 class BaseWxPayResult add a field named signType
* feature (common): the callback xml from wechat maybe has sign_type * feature (common): the callback xml from wechat maybe has sign_type Co-authored-by: chensheng <chensheng@jiayouxueba.cn>
This commit is contained in:
parent
6d2c0a3709
commit
10fd006f32
@ -104,6 +104,11 @@ public abstract class BaseWxPayResult {
|
||||
*/
|
||||
@XStreamAlias("sign")
|
||||
private String sign;
|
||||
/**
|
||||
* 签名类型.
|
||||
*/
|
||||
@XStreamAlias("sign_type")
|
||||
private String signType;
|
||||
|
||||
//以下为辅助属性
|
||||
/**
|
||||
@ -180,6 +185,7 @@ public abstract class BaseWxPayResult {
|
||||
subMchId = readXmlString(d, "sub_mch_id");
|
||||
nonceStr = readXmlString(d, "nonce_str");
|
||||
sign = readXmlString(d, "sign");
|
||||
signType = readXmlString(d, "sign_type");
|
||||
}
|
||||
|
||||
protected static Integer readXmlInteger(Node d, String tagName) {
|
||||
|
Loading…
Reference in New Issue
Block a user