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"])