|
|
@@ -3,28 +3,28 @@ package log
|
|
|
import "time"
|
|
|
|
|
|
type DeviceLog struct {
|
|
|
- Id uint `json:"id"`
|
|
|
- SimulatorCode string `json:"simulator_code"`
|
|
|
- DeviceManufacturer string `json:"device_manufacturer"`
|
|
|
- DeviceModel string `json:"device_model"`
|
|
|
- DeviceImei string `json:"device_imei"`
|
|
|
- DeviceSdk string `json:"device_sdk"`
|
|
|
- DeviceMac string `json:"device_mac"`
|
|
|
- DeviceNumber string `json:"device_number"`
|
|
|
- DeviceIp string `json:"device_ip"`
|
|
|
- DeviceId string `json:"device_id"`
|
|
|
- Account string `json:"account"`
|
|
|
- GameId int `json:"game_id"`
|
|
|
- CreateDate string `json:"create_date"`
|
|
|
- CreateTime string `json:"create_time"` // 创建时间
|
|
|
- IsErr int8 `json:"is_err"`
|
|
|
- ErrStatus uint8 `json:"err_status"`
|
|
|
- DeviceHex string `json:"device_hex"`
|
|
|
- AccountHex string `json:"account_hex"`
|
|
|
- LogUuid string `json:"log_uuid"` //日志UUID
|
|
|
- ScriptDeviceId string `json:"script_device_id"`
|
|
|
- PcCode string `json:"pc_code"`
|
|
|
- SimulatorIpCity string `json:"simulator_ip_city"`
|
|
|
+ Id uint `json:"id"`
|
|
|
+ SimulatorCode string `json:"simulator_code"`
|
|
|
+ DeviceManufacturer string `json:"device_manufacturer"`
|
|
|
+ DeviceModel string `json:"device_model"`
|
|
|
+ DeviceImei string `json:"device_imei"`
|
|
|
+ DeviceSdk string `json:"device_sdk"`
|
|
|
+ DeviceMac string `json:"device_mac"`
|
|
|
+ DeviceNumber string `json:"device_number"`
|
|
|
+ DeviceIp string `json:"device_ip"`
|
|
|
+ DeviceId string `json:"device_id"`
|
|
|
+ Account string `json:"account"`
|
|
|
+ GameId int `json:"game_id"`
|
|
|
+ CreateDate string `json:"create_date"`
|
|
|
+ CreateTime time.Time `json:"create_time"` // 创建时间
|
|
|
+ IsErr int8 `json:"is_err"`
|
|
|
+ ErrStatus uint8 `json:"err_status"`
|
|
|
+ DeviceHex string `json:"device_hex"`
|
|
|
+ AccountHex string `json:"account_hex"`
|
|
|
+ LogUuid string `json:"log_uuid"` //日志UUID
|
|
|
+ ScriptDeviceId string `json:"script_device_id"`
|
|
|
+ PcCode string `json:"pc_code"`
|
|
|
+ SimulatorIpCity string `json:"simulator_ip_city"`
|
|
|
}
|
|
|
|
|
|
func (DeviceLog) TableName() string {
|