Commit c03823ff by gonglei

加入框架代码

1 parent df156e7b
......@@ -114,6 +114,7 @@ public abstract class AbstractAuctionService {
amount.setRefund((int) (deposit.getAmount() * 100));
request.setAmount(amount);
request.setOutTradeNo(deposit.getOutTradeNo());
request.setOutRefundNo(deposit.getOutTradeNo());
request.setTransactionId(deposit.getTransactionId());
request.setNotifyUrl(notifyUrl + "/refund");
WxPayRefundV3Result wxPayRefundV3Result = this.wxService.refundV3(request);
......
......@@ -417,6 +417,7 @@ public class TransactionService extends AbstractAuctionService {
amount.setRefund((int) (recharge.getAmount() * 100));
request.setAmount(amount);
request.setOutTradeNo(recharge.getOutTradeNo());
request.setOutRefundNo(recharge.getOutTradeNo());
request.setTransactionId(recharge.getTransactionId());
request.setNotifyUrl(notifyUrl + "/refund");
WxPayRefundV3Result wxPayRefundV3Result = this.wxService.refundV3(request);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!