mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	fix WXLitePayClient.java 中copy应忽略的字段
小程序支付,copy应忽略 "privateKeyContent","privateCertContent",而不是“KeyContent” Signed-off-by: chenlei65368 <chenlei65368@sohu.com>
This commit is contained in:
		| @@ -49,7 +49,7 @@ public class WXLitePayClient extends AbstractPayClient<WXPayClientConfig> { | ||||
|     @Override | ||||
|     protected void doInit() { | ||||
|         WxPayConfig payConfig = new WxPayConfig(); | ||||
|         BeanUtil.copyProperties(config, payConfig, "keyContent"); | ||||
|         BeanUtil.copyProperties(config, payConfig, "privateKeyContent","privateCertContent"); | ||||
|         payConfig.setTradeType(WxPayConstants.TradeType.JSAPI); // 设置使用 JS API 支付方式 | ||||
| //        if (StrUtil.isNotEmpty(config.getKeyContent())) { | ||||
| //            payConfig.setKeyContent(config.getKeyContent().getBytes(StandardCharsets.UTF_8)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chenlei65368
					chenlei65368