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