loging.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package request
  2. import "log-server/model/log"
  3. type AddLogRequest struct {
  4. SimulatorIp string `json:"simulator_ip"`
  5. SimulatorMac string `json:"simulator_mac"`
  6. PcCode string `json:"pc_code"`
  7. PcIp string `json:"pc_ip"`
  8. PcMac string `json:"pc_mac"`
  9. DeviceId string `json:"device_id"`
  10. Account string `json:"account"`
  11. GameId int `json:"game_id"`
  12. Coding int `json:"coding"`
  13. ComputerType int `json:"computer_type"`
  14. EnvCode int `json:"env_code"`
  15. LogUuid string `json:"log_uuid"`
  16. Operator string `json:"operator"`
  17. AccountType int `json:"account_type"`
  18. ReportPointsData string `json:"report_points_data"`
  19. Remarks string `json:"remarks"`
  20. TaskType int `json:"task_type"` // 新增1,活跃2
  21. ScriptType int `json:"script_type"` // 中控1,脚本2
  22. }
  23. type ReportPointsData struct {
  24. Date string `json:"date"`
  25. Data string `json:"data"`
  26. }
  27. type GetLogListRequest struct {
  28. Code int `json:"code"`
  29. log.Loging
  30. PageInfo
  31. OrderKey string `json:"orderKey"` // 排序
  32. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  33. }