mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	#912 修复APP支付在服务商模式下的二次签名问题
This commit is contained in:
		| @ -326,11 +326,9 @@ public abstract class BaseWxPayServiceImpl implements WxPayService { | |||||||
|  |  | ||||||
|         Map<String, String> configMap = new HashMap<>(8); |         Map<String, String> configMap = new HashMap<>(8); | ||||||
|         // 此map用于参与调起sdk支付的二次签名,格式全小写,timestamp只能是10位,格式固定,切勿修改 |         // 此map用于参与调起sdk支付的二次签名,格式全小写,timestamp只能是10位,格式固定,切勿修改 | ||||||
|         String partnerId; |         String partnerId = unifiedOrderResult.getMchId(); | ||||||
|         if (StringUtils.isEmpty(request.getMchId())) { |         if (StringUtils.isNotEmpty(unifiedOrderResult.getSubMchId())) { | ||||||
|           partnerId = this.getConfig().getMchId(); |           partnerId = unifiedOrderResult.getSubMchId(); | ||||||
|         } else { |  | ||||||
|           partnerId = request.getMchId(); |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         configMap.put("prepayid", prepayId); |         configMap.put("prepayid", prepayId); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang