Alvin 8 месяцев назад
Родитель
Сommit
2ca171f353
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      game/game_cluster/internal/mdb/eventmodels/userLoginEvent.go

+ 5 - 3
game/game_cluster/internal/mdb/eventmodels/userLoginEvent.go

@@ -4,9 +4,11 @@ package eventmodels
 type UserLoginEventContent struct {
 	UserBasic
 	EventBasic
-	Ip       string `json:"ip"`       // IP
-	Platform string `json:"platform"` // 平台
-	Channel  string `json:"channel"`  // 渠道
+	Ip                string `json:"ip"`                  // IP
+	Platform          string `json:"platform"`            // 平台
+	Channel           string `json:"channel"`             // 渠道
+	ContinuousDays    int    `json:"continuous_days"`     // 连续登陆天数
+	ContinuousDaysMax int    `json:"continuous_days_max"` // 最大连续登陆天数
 }
 
 func (e *UserLoginEventContent) EventName() string {