服务端埋点时事件模型建立
基础数据模型有如下:
列名 | 详情 |
---|---|
公有字段: | String account,long userId,long roleId,int roleLevel,String roleName,String channelKey,String deviceId,int gender,int serverId,long createTime,String logName(用户账户,用户账户ID,角色ID,角色等级,角色名称,渠道,设备ID,性别,服务器id,创建时间,日志名) |
– | – |
event: | |
以下事件有公有字段 | |
CreateUserEvent | |
CreateUserEvent | {
“account”: “xxx”, //String 用户账户 “userId”: 0, //long 用户账户ID “roleId”: 0, //long 角色ID “roleLevel”: 0, //int 角色等级 “roleName”: “xxx”, //String 角色名称 “channelKey”: “xxx”, //String 渠道 “deviceId”: “xxx”, //String 设备ID “gender”: 0, //int 性别 “serverId”: 0, //int 服务器id “createTime”: 0, //long 创建时间 “logName”: “CreateUserEntity” //String 日志名 } |
CreateRoleEvent | |
CreateRoleEvent | {
“account”: “xxx”, //String 用户账户 “userId”: 0, //long 用户账户ID “roleId”: 0, //long 角色ID “roleLevel”: 0, //int 角色等级 “roleName”: “xxx”, //String 角色名称 “channelKey”: “xxx”, //String 渠道 “deviceId”: “xxx”, //String 设备ID “gender”: 0, //int 性别 “serverId”: 0, //int 服务器id “createTime”: 0, //long 创建时间 “logName”: “CreateRoleEntity” //String 日志名 } |
LoginEvent | String ip(登录IP) |
LoginEvent对应json | {
“account”: “xxx”, //String 用户账户 “userId”: 0, //long 用户账户ID “roleId”: 0, //long 角色ID “roleLevel”: 0, //int 角色等级 “roleName”: “xxx”, //String 角色名称 “chan |