my_chart.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package request
  2. type MyChartClassifyAddReq struct {
  3. ClassifyName string `json:"classify_name"`
  4. }
  5. type MyChartClassifyEditReq struct {
  6. ClassifyId int `json:"classify_id"`
  7. ClassifyName string `json:"classify_name"`
  8. }
  9. type MyChartClassifyDelReq struct {
  10. ClassifyId int `json:"classify_id"`
  11. }
  12. type MyChartClassifySortReq struct {
  13. ClassifyId int `json:"classify_id"`
  14. Sort int `json:"sort"`
  15. }
  16. type MyChartRelateClassifyReq struct {
  17. MyChartId int `json:"my_chart_id"`
  18. ClassifyId int `json:"classify_id"`
  19. }
  20. type MyChartCollectReq struct {
  21. Authorization string `json:"authorization" form:"authorization"`
  22. UniqueCode string `json:"unique_code" form:"unique_code"`
  23. ReportId int `json:"report_id" form:"report_id"`
  24. ReportChapterId int `json:"report_chapter_id" form:"report_chapter_id"`
  25. }
  26. type MyChartCollectCancelReq struct {
  27. Authorization string `json:"authorization" form:"authorization"`
  28. UniqueCode string `json:"unique_code" form:"unique_code"`
  29. }
  30. type MyChartIsCollectReq struct {
  31. Authorization string `json:"authorization" form:"authorization"`
  32. UniqueCode string `json:"unique_code" form:"unique_code"`
  33. //ReportId int `json:"report_id" form:"report_id"`
  34. //ReportChapterId int `json:"report_chapter_id" form:"report_chapter_id"`
  35. }
  36. type MyChartCollectListReq struct {
  37. Keyword string `json:"keyword" form:"keyword" description:"关键词"`
  38. ClassifyId int `json:"classify_id" form:"classify_id" description:"图表分类ID"`
  39. CurrPage int `json:"curr_page" form:"curr_page"`
  40. PageSize int `json:"page_size" form:"page_size"`
  41. }
  42. type MyChartCollectLocateReq struct {
  43. ClassifyId int `json:"classify_id" form:"classify_id" description:"图表分类ID"`
  44. }