feat(service): 添加交易报表功能, 微信Jsapi默认加密方式调整

This commit is contained in:
DaxPay
2024-11-18 18:48:32 +08:00
parent 96215b51f0
commit a10ae1d1c0
8 changed files with 329 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ public class AliPayService {
if (Objects.equals(payOrder.getMethod(), PayMethodEnum.WAP.getCode())) {
payBody = this.wapPay(amount, payOrder);
}
// 程序支付
// APP支付
else if (Objects.equals(payOrder.getMethod(), PayMethodEnum.APP.getCode())) {
payBody = this.appPay(amount, payOrder);
}

View File

@@ -184,7 +184,7 @@ public class WechatPayV3Service {
packageParams.put("package", result.getPackageValue());
String signType = result.getSignType();
if (result.getSignType() == null) {
signType = "MD5";
signType = "RSA";
}
packageParams.put("signType", signType);
packageParams.put("paySign", result.getPaySign());