mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-06 21:26:26 +08:00
fix 微信支付同步V3接口金额空指针问题
This commit is contained in:
@@ -42,7 +42,7 @@ public class WeChatPaySyncV3Service {
|
||||
|
||||
// 获取支付金额
|
||||
var payerTotal = Optional.ofNullable(result.getAmount())
|
||||
.map(WxPayOrderQueryV3Result.Amount::getPayerTotal)
|
||||
.map(WxPayOrderQueryV3Result.Amount::getTotal)
|
||||
.map(PayUtil::conversionAmount)
|
||||
.orElse(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user