getbilltasklist.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package http_model
  2. type GetBillTaskListRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page_num"`
  5. BillingID string `json:"billing_id"`
  6. }
  7. type BillTaskDataResponse struct {
  8. TaskType int `json:"task_type"`
  9. TaskForm int `json:"task_form"`
  10. Platform int `json:"platform"`
  11. ContentType int `json:"content_type"`
  12. SettleAmount string `json:"settle_amount"`
  13. Operator string `json:"operator"`
  14. ProductName string `json:"product_name"`
  15. PhotoUrl string `json:"photo_url"`
  16. Price float64 `json:"price"`
  17. ProductId string `json:"product_id"`
  18. Address string `json:"address"`
  19. Taskid string `json:"taskid"`
  20. }
  21. type BillTaskData struct {
  22. InvoiceListinfo []*BillTaskDataResponse `json:"billtask_list_info"`
  23. Total int `json:"total"`
  24. }
  25. func NewGetBillTaskListRequest() *GetBillTaskListRequest {
  26. return new(GetBillTaskListRequest)
  27. }
  28. func NewGetBillTaskListResponse() *CommonResponse {
  29. resp := new(CommonResponse)
  30. resp.Data = new(BillTaskData)
  31. return resp
  32. }