package request import ( "log-server/model/log" ) type AddLogRequest struct { SimulatorIp string `json:"simulator_ip"` SimulatorMac string `json:"simulator_mac"` PcCode string `json:"pc_code"` PcIp string `json:"pc_ip"` PcMac string `json:"pc_mac"` DeviceId string `json:"device_id"` Account string `json:"account"` GameId int `json:"game_id"` Coding int `json:"coding"` ComputerType int `json:"computer_type"` EnvCode int `json:"env_code"` LogUuid string `json:"log_uuid"` Operator string `json:"operator"` AccountType int `json:"account_type"` ReportPointsData string `json:"report_points_data"` Remarks string `json:"remarks"` TaskType int `json:"task_type"` // 新增1,活跃2 ScriptType int `json:"script_type"` // 中控1,脚本2 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"` ScriptDeviceId string `json:"script_device_id"` Err string `json:"err"` // 0或不传表示没有异常,其他表示异常,脚本端自定义 } type ReportPointsData struct { Date string `json:"date"` Data string `json:"data"` } type GetLogListRequest struct { Code int `json:"code"` log.Loging PageInfo OrderKey string `json:"orderKey"` // 排序 Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true }