This commit is contained in:
邹宗楠
2025-08-05 16:20:28 +08:00
parent eb59d502e0
commit 28af82d606
6 changed files with 60 additions and 15 deletions

View File

@@ -57,3 +57,17 @@ func TestPayActive(t *testing.T) {
CompleteNotifyUrl: "",
})
}
func TestAggregateRefund(t *testing.T) {
api.AggregateRefund(&AggregateRefundReq{
MerchantNo: "822651059990E2S",
TermNo: "M3595962",
OutTradeNo: "111223344",
RefundAmount: "1",
RefundReason: "测试",
OriginOutTradeNo: "88492081389546",
OriginTradeNo: "",
OriginLogNo: "",
LocationInfo: LocationInfoObj{RequestIp: "192.168.255.132"},
})
}