From f4d4c046597bdcac1b9c2f9c4b0702cdeb76c04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 6 Nov 2020 16:26:09 +0800 Subject: [PATCH] pay result --- business/jxstore/financial/financial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/financial/financial.go b/business/jxstore/financial/financial.go index a01d232e3..8feb04834 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -66,7 +66,7 @@ func (p *PayHandler) CreatePay() (err error) { } result, err := api.WxpayAPI.CreateUnifiedOrder(param) if err == nil { - param2 := utils.Struct2FlatMap(param) + param2 := make(map[string]interface{}) param2["prepayid"] = result.PrepayID param2["noncestr"] = utils.GetUUID() param2["timestamp"] = time.Now().Unix()