From 4fdefa5136d7234b4bf8521aa497d7ea5c9ca104 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 16 Nov 2022 11:32:18 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=BB=BF=E8=89=B2=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/block_green_chain_settlement.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rule/block_green_chain_settlement.go b/rule/block_green_chain_settlement.go index 81a2046..9ed00f4 100644 --- a/rule/block_green_chain_settlement.go +++ b/rule/block_green_chain_settlement.go @@ -130,12 +130,12 @@ func DailySettlementBlockGreenChain(engine *xorm.Engine, mid string, isTask bool return err } - userIds, err := db.UserLevelDescByWeightLow(session) - if err != nil { - _ = session.Rollback() - return err - } - + //userIds, err := db.UserLevelDescByWeightLow(session) + //if err != nil { + // _ = session.Rollback() + // return err + //} + var userIds []int //4、进行消费返利-区块币统计分配 err, destroyCoinForConsume := statisticsAndDistributeCoinForConsume(session, userIds, mid, consumeAreaCoinNums, blockGreenChain) if err != nil {