From 17462cb3782f7393af2f5b93a585a79084d6b7c2 Mon Sep 17 00:00:00 2001 From: iamhujiebin <458249864@qq.com> Date: Sun, 13 Aug 2023 23:33:47 +0800 Subject: [PATCH] fruit diamond reduceMap log --- domain/model/gift_m/gift.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/domain/model/gift_m/gift.go b/domain/model/gift_m/gift.go index 3a4f996..51ebce1 100644 --- a/domain/model/gift_m/gift.go +++ b/domain/model/gift_m/gift.go @@ -151,6 +151,9 @@ func (g *GiftOperate) GetConsumeByRange(beginTime, endTime time.Time) (uint32, u "HTGS#a39882521": 10255093, } if reduceNum, ok := reduceMap[g.SceneUid]; ok { + if g.Log != nil { + g.Log.Infof("fruit diamond reduceMap,groupId:%v,reduceNum:%v", g.SceneUid, reduceNum) + } if rows[0].Consume >= reduceNum { rows[0].Consume -= reduceNum } else { -- 2.22.0