From bc6fd148c1a06474727192c47e0cef1b3533ef4e Mon Sep 17 00:00:00 2001 From: tommy <3405129587@qq.com> Date: Mon, 7 Sep 2020 14:57:16 +0800 Subject: [PATCH] rm price = 0 --- controllers/client/good.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/client/good.go b/controllers/client/good.go index b854c39..ad7db80 100644 --- a/controllers/client/good.go +++ b/controllers/client/good.go @@ -237,8 +237,9 @@ func (t *GoodCtl) Order() { Postage: option.PostFee, } amount := price + int(option.PostFee*100) + res := make(map[string]interface{}) if amount > 0.00 { - res, err := pay_service.UnifiedOrder("欧轩互动-直播商品", user.Openid, amount, 4, userId, + res, err = pay_service.UnifiedOrder("欧轩互动-直播商品", user.Openid, amount, 4, userId, activity.Id, expireAt) if err != nil {