From 8a1639019d1e640222a565af831a9ebcd749fd8b Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Fri, 17 Nov 2023 09:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4diam?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cweb/src/main/java/com/cweb/notify/TianQueController.java | 2 +- .../main/java/com/api/controller/v1/NotifyController.java | 3 ++- .../openapi/v1/model/response/ResponseQueryTradeModel.java | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cweb/src/main/java/com/cweb/notify/TianQueController.java b/cweb/src/main/java/com/cweb/notify/TianQueController.java index db43bb5..8a5af9e 100644 --- a/cweb/src/main/java/com/cweb/notify/TianQueController.java +++ b/cweb/src/main/java/com/cweb/notify/TianQueController.java @@ -101,7 +101,7 @@ public class TianQueController { tradeOrderService.paySuccess( body.getString("ordNo"), - body.getString("uuid"), + body.getString("sxfUuid"), PlatformTypeEnum.type5, TradeOrderPayModeEnum.getNameByCode(body.getString("payType")), body.getBigDecimal("totalOffstAmt"), diff --git a/open-api/src/main/java/com/api/controller/v1/NotifyController.java b/open-api/src/main/java/com/api/controller/v1/NotifyController.java index 9c064df..6060fea 100644 --- a/open-api/src/main/java/com/api/controller/v1/NotifyController.java +++ b/open-api/src/main/java/com/api/controller/v1/NotifyController.java @@ -151,7 +151,7 @@ public class NotifyController { } tradeOrderService.paySuccess( body.getString("ordNo"), - body.getString("uuid"), + body.getString("sxfUuid"), PlatformTypeEnum.type5, TradeOrderPayModeEnum.getNameByCode(body.getString("payType")), body.getBigDecimal("totalOffstAmt"), @@ -166,6 +166,7 @@ public class NotifyController { responseQueryTradeModel.setMerchantNo(tradeOrder.getMerNo()); responseQueryTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo()); responseQueryTradeModel.setAccTradeNo(tradeOrder.getAccTradeNo()); + responseQueryTradeModel.setPlatformTradeNo(tradeOrder.getPlatformTradeNo()); responseQueryTradeModel.setUserId(tradeOrder.getPayUserId()); responseQueryTradeModel.setPayMode(tradeOrder.getPayMode()); responseQueryTradeModel.setTradeAmount(tradeOrder.getTradeAmount()); diff --git a/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseQueryTradeModel.java b/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseQueryTradeModel.java index dab6417..f289b59 100644 --- a/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseQueryTradeModel.java +++ b/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseQueryTradeModel.java @@ -31,6 +31,11 @@ public class ResponseQueryTradeModel { */ private String accTradeNo; + /** + * 平台(渠道)交易单号 + */ + private String platformTradeNo; + /** * 用户标识 */