From 6654ba1a1ce94c3f29cdbcf1f334185589e6d3b1 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 19 Jul 2022 16:04:54 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.5.1=20=E5=85=AC=E6=8E=92?= =?UTF-8?q?=E7=9B=B4=E6=8E=A8=E8=A6=81=E9=99=A4100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/public_platoon_relate_commission.go | 2 +- svc/reward_commission.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/public_platoon_relate_commission.go b/svc/public_platoon_relate_commission.go index 96ed594..94248c3 100644 --- a/svc/public_platoon_relate_commission.go +++ b/svc/public_platoon_relate_commission.go @@ -112,7 +112,7 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId return nil, errors.New("更新公排关系记录失败") } } - + /// resp[param.Oid] = &md.PublicPlatoonRelateCommissionResp{ Uid: param.Uid, CommonWealthBenefitUid: nowBenefitUid, diff --git a/svc/reward_commission.go b/svc/reward_commission.go index 1bca2b5..cbc0091 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -465,7 +465,7 @@ func BatchGetPublicPlatoonRelateCommissionByGoods(engine *xorm.Engine, masterId for _, coinId := range lvGrade.ReturnType { selfRateList[coinId] = zhios_order_relate_utils.Float64ToStr(zhios_order_relate_utils.StrToFloat64(lvGrade.SelfRateList[coinId]) * zhios_order_relate_utils.StrToFloat64(param.PendingAmount) / 100) commonWealthSystem[coinId] = zhios_order_relate_utils.Float64ToStr(zhios_order_relate_utils.StrToFloat64(lvGrade.CommonWealthSystem[coinId]) * zhios_order_relate_utils.StrToFloat64(param.PendingAmount) / 100) - directPush[coinId] = zhios_order_relate_utils.Float64ToStr(zhios_order_relate_utils.StrToFloat64(lvGrade.DirectPush[coinId]) * zhios_order_relate_utils.StrToFloat64(param.PendingAmount)) + directPush[coinId] = zhios_order_relate_utils.Float64ToStr(zhios_order_relate_utils.StrToFloat64(lvGrade.DirectPush[coinId]) * zhios_order_relate_utils.StrToFloat64(param.PendingAmount) / 100) } resp[param.Oid] = &md.PublicPlatoonRelateCommissionResp{ Uid: param.Uid,