diff --git a/rule/consume_integral_settlement.go b/rule/consume_integral_settlement.go index 7bc433a..7801f7f 100644 --- a/rule/consume_integral_settlement.go +++ b/rule/consume_integral_settlement.go @@ -108,6 +108,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask _ = session.Rollback() return } + totalMap = make(map[int]decimal.Decimal) var consumeTotalMap = make(map[int]decimal.Decimal) var consumeTotalCountMap = make(map[int]int) total := hasConsumeTotal + hasExperienceTotal