周卡购买记录修改

This commit is contained in:
by 2024-10-29 16:35:25 +08:00
parent c5a651c88d
commit 294e9e6326
1 changed files with 3 additions and 2 deletions

View File

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