Commit e4378e56280b36fb093449ea37b083f0354cb615

Authored by YunaiV
1 parent b5803560

修复 WxPayOrderNotifyV3Result 的重命名

yudao-framework/yudao-spring-boot-starter-biz-pay/src/main/java/cn/iocoder/yudao/framework/pay/core/client/impl/weixin/AbstractWxPayClient.java
... ... @@ -17,8 +17,8 @@ import cn.iocoder.yudao.framework.pay.core.client.dto.transfer.PayTransferUnifie
17 17 import cn.iocoder.yudao.framework.pay.core.client.impl.AbstractPayClient;
18 18 import cn.iocoder.yudao.framework.pay.core.enums.order.PayOrderStatusRespEnum;
19 19 import cn.iocoder.yudao.framework.pay.core.enums.transfer.PayTransferTypeEnum;
  20 +import com.github.binarywang.wxpay.bean.notify.WxPayNotifyV3Result;
20 21 import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
21   -import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyV3Result;
22 22 import com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyResult;
23 23 import com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyV3Result;
24 24 import com.github.binarywang.wxpay.bean.request.*;
... ... @@ -176,8 +176,8 @@ public abstract class AbstractWxPayClient extends AbstractPayClient<WxPayClientC
176 176  
177 177 private PayOrderRespDTO doParseOrderNotifyV3(String body) throws WxPayException {
178 178 // 1. 解析回调
179   - WxPayOrderNotifyV3Result response = client.parseOrderNotifyV3Result(body, null);
180   - WxPayOrderNotifyV3Result.DecryptNotifyResult result = response.getResult();
  179 + WxPayNotifyV3Result response = client.parseOrderNotifyV3Result(body, null);
  180 + WxPayNotifyV3Result.DecryptNotifyResult result = response.getResult();
181 181 // 2. 构建结果
182 182 Integer status = parseStatus(result.getTradeState());
183 183 String openid = result.getPayer() != null ? result.getPayer().getOpenid() : null;
... ...