loging.go 1.2 KB

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