|
|
@@ -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 { |
|
|
|