| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package log
- type IpLog struct {
- Id uint `json:"id"`
- Ip string `json:"ip"` //模拟器ip
- LogUuid string `json:"log_uuid"` //日志UUID
- GameId int `json:"game_id"` //游戏id
- Account string `json:"account"` //账号
- PcCode string `json:"pc_code"` //电脑编号
- CreateDate string `json:"create_date"` // 创建日期
- CreateTime string `json:"create_time"` // 创建时间
- }
- type IpLogRequest struct {
- Id uint `json:"id"`
- Ip string `json:"ip"` //模拟器ip
- Date []string `json:"date"`
- LogUuid string `json:"log_uuid"` //日志UUID
- GameId int `json:"game_id"` //游戏id
- Account string `json:"account"` //账号
- PcCode string `json:"pc_code"` //电脑编号
- CreateDate string `json:"create_date"` // 创建日期
- CreateTime string `json:"create_time"` // 创建时间
- }
- type IpLogResponse struct {
- Ip string `json:"ip"` //模拟器ip
- PcCode string `json:"pc_code"` //电脑编号
- GameId int `json:"game_id"` //游戏id
- CreateDate string `json:"create_date"` // 创建日期
- CountTotal int `json:"count_total"` //总数
- CountDistinctIp int `json:"count_distinct_ip"`
- }
- type QueryIpList struct {
- Ip string `json:"ip"` //模拟器ip
- }
- func (IpLog) TableName() string {
- return "ip_log"
- }
|