GetSecTaskList.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package http_model
  2. import (
  3. "time"
  4. )
  5. type GetSecTaskListRequest struct {
  6. PageSize int64 `json:"page_size"`
  7. PageNum int64 `json:"page_num"`
  8. SelectionId string `json:"selection_id"`
  9. SecTaskStatus int `json:"sec_task_status"`
  10. SearchValue string `json:"search_value"`
  11. }
  12. type GetSecTaskListData struct {
  13. SecTaskList []*SecTaskInfo `json:"sec_task_list"`
  14. Total string `json:"total"`
  15. }
  16. type SecTaskInfo struct {
  17. SelectionId string `json:"selection_id"`
  18. PlatformNickname string `json:"platform_nickname"` // 帐号昵称
  19. FansCount string `json:"fans_count"` // 粉丝数
  20. HomePageCaptureUrl string `json:"home_page_capture_url"` // 主页截图链接
  21. HomePageUrl string `json:"home_page_url"` // 主页链接
  22. CreateDate time.Time `json:"column:create_date;default:CURRENT_TIMESTAMP"` // 创建时间
  23. SelectDate time.Time `json:"column:select_date"` // 反选时间
  24. }
  25. func NewGetSecTaskListRequest() *GetSecTaskListRequest {
  26. return new(GetSecTaskListRequest)
  27. }
  28. func NewGetSecTaskListResponse() *CommonResponse {
  29. resp := new(CommonResponse)
  30. resp.Data = new(GetSecTaskListData)
  31. return resp
  32. }