mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +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:
		| @ -104,6 +104,11 @@ public abstract class BaseWxPayResult { | |||||||
|    */ |    */ | ||||||
|   @XStreamAlias("sign") |   @XStreamAlias("sign") | ||||||
|   private String sign; |   private String sign; | ||||||
|  |   /** | ||||||
|  |    * 签名类型. | ||||||
|  |    */ | ||||||
|  |   @XStreamAlias("sign_type") | ||||||
|  |   private String signType; | ||||||
|  |  | ||||||
|   //以下为辅助属性 |   //以下为辅助属性 | ||||||
|   /** |   /** | ||||||
| @ -180,6 +185,7 @@ public abstract class BaseWxPayResult { | |||||||
|     subMchId = readXmlString(d, "sub_mch_id"); |     subMchId = readXmlString(d, "sub_mch_id"); | ||||||
|     nonceStr = readXmlString(d, "nonce_str"); |     nonceStr = readXmlString(d, "nonce_str"); | ||||||
|     sign = readXmlString(d, "sign"); |     sign = readXmlString(d, "sign"); | ||||||
|  |     signType = readXmlString(d, "sign_type"); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   protected static Integer readXmlInteger(Node d, String tagName) { |   protected static Integer readXmlInteger(Node d, String tagName) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Sheng Chen
					Sheng Chen