mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 13:20:23 +00: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