From 6d9a96d0eccac4812a0a6cc1af2ff4da3ce5ba07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 17 Nov 2020 17:57:51 +0800 Subject: [PATCH] cao --- 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 fd6c6c2aa..d9c755b73 100644 --- a/business/jxstore/financial/financial.go +++ b/business/jxstore/financial/financial.go @@ -63,7 +63,7 @@ func (p *PayHandler) CreatePay() (err error) { param.OpenID = authInfo.GetAuthID() } result, err2 := api.WxpayAPI.CreateUnifiedOrder(param) - if err == nil { + if err2 == nil { param2 := make(map[string]interface{}) param2["prepayid"] = result.PrepayID param2["noncestr"] = utils.GetUUID()