Browse Source

更新

tags/v1.6.1^2
huangjiajun 1 year ago
parent
commit
8228abe9c8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      pay/alipay.go

+ 3
- 1
pay/alipay.go View File

@@ -235,11 +235,13 @@ func AlipayTradePay(args map[string]string) {
"creditTradeScene": args["creditTradeScene"], "creditTradeScene": args["creditTradeScene"],
} }
bm.SetBodyMap("biz_content", func(bz gopay.BodyMap) { 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("is_async_pay", args["is_async_pay"])
bz.Set("total_amount", args["total_amount"]) bz.Set("total_amount", args["total_amount"])
bz.Set("auth_code", args["auth_code"]) bz.Set("auth_code", args["auth_code"])
bz.Set("product_code", args["product_code"])
bz.Set("scene", args["scene"]) bz.Set("scene", args["scene"])
bz.Set("order_title", args["order_title"])
bz.Set("subject", args["subject"])
bz.Set("extend_params", extendParams) bz.Set("extend_params", extendParams)
}) })
var aliPsp = "" var aliPsp = ""


Loading…
Cancel
Save