package model var ( ClientLogDBName = "log" ClientLogCollName = "log_clientlog" ClientLogMysqlCollName = "log_clientlog_mysql" ) type ClientLog struct { Data string // 客户端数据,json格式 Platform string // 平台id Snid int32 // 玩家id Ts int64 // 时间戳 CreateTs int64 // 注册时间 AppChannel string // 注册时的包渠道 ChannelId string // 推广渠道 } type CustomData struct { Event string `json:"event"` // 新手引导 guide Platform string `json:"platform"` // 平台id GuideTp int32 `json:"guide_tp"` // 新手引导类型 1完成步骤 2跳过新手引导 N int64 `json:"n"` // 完成步骤的序号,或者跳过新手引导的序号 } type ClientLogMysql ClientLog