!558 支付模块微信App统一下单返回值解析错误

This commit is contained in:
YunaiV 2023-08-11 19:10:48 +08:00
parent abe05db277
commit 58d70ace8a

View File

@ -53,7 +53,7 @@ public class WxAppPayClient extends AbstractWxPayClient {
// 构建 WxPayUnifiedOrderV3Request 对象 // 构建 WxPayUnifiedOrderV3Request 对象
WxPayUnifiedOrderV3Request request = buildPayUnifiedOrderRequestV3(reqDTO); WxPayUnifiedOrderV3Request request = buildPayUnifiedOrderRequestV3(reqDTO);
// 执行请求 // 执行请求
WxPayUnifiedOrderV3Result.JsapiResult response = client.createOrderV3(TradeTypeEnum.APP, request); WxPayUnifiedOrderV3Result.AppResult response = client.createOrderV3(TradeTypeEnum.APP, request);
// 转换结果 // 转换结果
return PayOrderRespDTO.waitingOf(PayOrderDisplayModeEnum.APP.getMode(), toJsonString(response), return PayOrderRespDTO.waitingOf(PayOrderDisplayModeEnum.APP.getMode(), toJsonString(response),