From c7e130015b5272b22a688de37718ca3da981c9b6 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 3 Jan 2023 18:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=9B=E8=B4=9D=E5=88=B6?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/comm_plan/niubei_all.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/comm_plan/niubei_all.go b/lib/comm_plan/niubei_all.go index defb771..eb2ad29 100644 --- a/lib/comm_plan/niubei_all.go +++ b/lib/comm_plan/niubei_all.go @@ -37,7 +37,7 @@ func NiuBeiCalReturnAmountAndRatio(eg *xorm.Engine, pvd, bili string, integralFe return 0, 0, nil, nil } for _, v := range o2oRatioSet { - if v.Key == bili { + if zhios_order_relate_utils.StrToFloat64(v.Key) == zhios_order_relate_utils.StrToFloat64(bili) { ratio = v.Ratio } }