抽卡次数记录

This commit is contained in:
meixiongfeng 2023-06-26 21:56:49 +08:00
parent 9e1ebbd659
commit 3aeceb557c

View File

@ -204,7 +204,9 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
heroRecord.Totalcount += req.DrawCount
heroRecord.Daycount += req.DrawCount
heroRecord.Count[req.DrawType] = drawCount
update["drawcount"] = drawCount
update["count"] = heroRecord.Count
update["totalcount"] = heroRecord.Totalcount
update["daycount"] = heroRecord.Daycount
update["baodi4"] = heroRecord.Baodi4