game_sync/model/clientlog.go

27 lines
781 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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