From 294e9e6326cbfce16bf7872e2f03eb89f15e0133 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Tue, 29 Oct 2024 16:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E5=8D=A1=E8=B4=AD=E4=B9=B0=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/player.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/worldsrv/player.go b/worldsrv/player.go index 0d8caa5..1a82c9f 100644 --- a/worldsrv/player.go +++ b/worldsrv/player.go @@ -4414,7 +4414,8 @@ func (this *Player) UpdateWeekCardData(shopId int32) bool { this.WeekCardTime[id] = zeroTime.Unix() this.GetWeekCardAwary(id) - + //周卡统计 + mq.Write(model.GenerateActivityLog(this.SnId, this.Platform, model.ActivityLog_WeekCard, 1)) return true } @@ -4463,7 +4464,7 @@ func (this *Player) GetWeekCardAwary(id int32) { } ret.WeekCard = info this.SendToClient(int(playerproto.PlayerPacketID_PACKET_SCGetWeekCardAwary), ret) - mq.Write(model.GenerateActivityLog(this.SnId, this.Platform, model.ActivityLog_WeekCard, 1)) + mq.Write(model.GenerateActivityLog(this.SnId, this.Platform, model.ActivityLog_WeekCard, 2)) return }