From 0303ac886ded0005d15090e0fb1bfae1a9cc4644 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 16 Nov 2023 16:39:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pay/alipay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pay/alipay.go b/pay/alipay.go index f44b7d4..4cfcc17 100644 --- a/pay/alipay.go +++ b/pay/alipay.go @@ -425,7 +425,7 @@ func AlipayTradeRefund(args map[string]string) (*md.AlipayTradeRefund, error) { //请求参数 bm := make(gopay.BodyMap) bm.SetBodyMap("biz_content", func(bz gopay.BodyMap) { - bz.Set("out_trade_no", args["out_trade_no"]) + bz.Set("trade_no", args["trade_no"]) bz.Set("refund_amount", args["refund_amount"]) bz.Set("refund_reason", args["refund_reason"]) bz.Set("out_request_no", args["out_request_no"])