From a0888526dbb3431e41c62ffc32427d069f782c08 Mon Sep 17 00:00:00 2001 From: huangjuajun <102564160@qq.com> Date: Tue, 7 Jun 2022 18:19:08 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.0.3=20=E5=95=86=E5=AE=B6?= =?UTF-8?q?=E5=88=86=E4=BD=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2o/add_store_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o2o/add_store_commission.go b/o2o/add_store_commission.go index 0b85dd8..fbf191a 100644 --- a/o2o/add_store_commission.go +++ b/o2o/add_store_commission.go @@ -36,7 +36,7 @@ func AddStoreCommission(eg *xorm.Engine, args map[string]string) { if relate != nil { return } - amount := zhios_o2o_business_utils.StrToFloat64(args["amount"]) * zhios_o2o_business_utils.StrToFloat64(args["bili"]) + amount := zhios_o2o_business_utils.StrToFloat64(args["commission"]) * zhios_o2o_business_utils.StrToFloat64(args["bili"]) if amount == 0 { return }