兑换礼包领取记录

This commit is contained in:
sk 2024-08-09 14:25:19 +08:00
parent e49ecbc1a1
commit 427098ee00
2 changed files with 13 additions and 11 deletions

View File

@ -286,6 +286,7 @@ type JybItem struct {
} }
type JybLog struct { type JybLog struct {
Platform string `json:"platform"` // 平台
Id string `json:"jybId"` // 礼包id Id string `json:"jybId"` // 礼包id
Ts int64 `json:"ts"` // 时间戳 Ts int64 `json:"ts"` // 时间戳
SnId int32 `json:"snid"` // 玩家id SnId int32 `json:"snid"` // 玩家id

View File

@ -593,6 +593,7 @@ func (this *BagMgr) VerifyUpJybInfo(p *Player, args *model.VerifyUpJybInfoArgs)
} }
} }
jybLog := &model.JybLog{ jybLog := &model.JybLog{
Platform: p.Platform,
Id: jyb.JybId.Hex(), Id: jyb.JybId.Hex(),
Ts: time.Now().Unix(), Ts: time.Now().Unix(),
SnId: p.SnId, SnId: p.SnId,