diff --git a/open-api/src/main/java/com/api/controller/v1/TradeController.java b/open-api/src/main/java/com/api/controller/v1/TradeController.java index f6f3a29..815557e 100644 --- a/open-api/src/main/java/com/api/controller/v1/TradeController.java +++ b/open-api/src/main/java/com/api/controller/v1/TradeController.java @@ -230,6 +230,7 @@ public class TradeController { refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo()); refundTradeModel.setPayMode(tradeOrder.getPayMode()); refundTradeModel.setRefundTradeNo(refund.getRefundNo()); + refundTradeModel.setAccTradeNo(refund.getAccTradeNo()); refundTradeModel.setRefundAmount(refund.getRefundAmount().toString()); refundTradeModel.setRefundPayerAmount(refund.getPayerAmount().toString()); refundTradeModel.setRefundTime(refund.getRefundTime()); diff --git a/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseRefundTradeModel.java b/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseRefundTradeModel.java index 8da52b6..418a9bb 100644 --- a/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseRefundTradeModel.java +++ b/service/src/main/java/com/hfkj/openapi/v1/model/response/ResponseRefundTradeModel.java @@ -37,6 +37,11 @@ public class ResponseRefundTradeModel { */ private String refundTradeNo; + /** + * 账户端交易订单号 + */ + private String accTradeNo; + /** * 退款金额 */ diff --git a/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java b/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java index d74f6dc..fb4d31a 100644 --- a/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java +++ b/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java @@ -116,6 +116,7 @@ public class OpenApiTradeOrderServiceImpl implements OpenApiTradeOrderService { refundTradeModel.setOutTradeNo(tradeOrder.getOutTradeNo()); refundTradeModel.setPayMode(tradeOrder.getPayMode()); refundTradeModel.setRefundTradeNo(orderRefund.getRefundNo()); + refundTradeModel.setAccTradeNo(orderRefund.getAccTradeNo()); refundTradeModel.setRefundAmount(orderRefund.getRefundAmount().toString()); refundTradeModel.setRefundPayerAmount(orderRefund.getPayerAmount().toString()); refundTradeModel.setRefundTime(orderRefund.getRefundTime());