Browse Source

基础配置

release
张彭杰 1 year ago
parent
commit
30b1a0e672
1 changed files with 1 additions and 1 deletions
  1. 2
      dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/paymentchannelorder/processor/wechat/WeChatPayProcessor.java

2
dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/paymentchannelorder/processor/wechat/WeChatPayProcessor.java

@ -89,7 +89,7 @@ public class WeChatPayProcessor extends IChannelPayService {
long timestamp = System.currentTimeMillis() / 1000; long timestamp = System.currentTimeMillis() / 1000;
String sign; String sign;
try { try {
sign = wxPayV3Util.sign(sessionVo.getPlatformAppId(), timestamp, nonceStr, prepayId);
sign = wxPayV3Util.sign(sessionVo.getPlatformAppId(), timestamp, nonceStr, "prepay_id=" + prepayId);
} catch (Exception e) { } catch (Exception e) {
log.error(" sign fail AppV3PayStrategyImpl {}", e.getMessage(), e); log.error(" sign fail AppV3PayStrategyImpl {}", e.getMessage(), e);
throw new BizException("生成签名错误:" + e.getMessage()); throw new BizException("生成签名错误:" + e.getMessage());

Loading…
Cancel
Save