From 8228abe9c833a8a1b142d5cc5ffb0addd69318f9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 12 Apr 2023 10:21:54 +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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pay/alipay.go b/pay/alipay.go index cdab74c..3c878ab 100644 --- a/pay/alipay.go +++ b/pay/alipay.go @@ -235,11 +235,13 @@ func AlipayTradePay(args map[string]string) { "creditTradeScene": args["creditTradeScene"], } bm.SetBodyMap("biz_content", func(bz gopay.BodyMap) { + bz.Set("out_trade_no", args["out_trade_no"]) bz.Set("is_async_pay", args["is_async_pay"]) bz.Set("total_amount", args["total_amount"]) bz.Set("auth_code", args["auth_code"]) + bz.Set("product_code", args["product_code"]) bz.Set("scene", args["scene"]) - bz.Set("order_title", args["order_title"]) + bz.Set("subject", args["subject"]) bz.Set("extend_params", extendParams) }) var aliPsp = ""