creative.go 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package mcnmodel
  2. // CreativeCommonReq common creative
  3. type CreativeCommonReq struct {
  4. UpMid int64 `form:"mid" validate:"required"`
  5. McnMid int64
  6. }
  7. // AidCommonReq common aid
  8. type AidCommonReq struct {
  9. CreativeCommonReq
  10. Aid int64 `form:"aid" validate:"required"`
  11. }
  12. // DataCommonReq request params
  13. type DataCommonReq struct {
  14. CreativeCommonReq
  15. Type int8 `form:"type" validate:"required"`
  16. }
  17. // ArchivesReq request params
  18. type ArchivesReq struct {
  19. CreativeCommonReq
  20. Pn int64 `form:"pn"`
  21. Ps int64 `form:"ps"`
  22. Order string `form:"order"`
  23. TID int64 `form:"tid"`
  24. KeyWord string `form:"keyword"`
  25. Status string `form:"status" validate:"required"`
  26. Coop int16 `form:"coop"`
  27. }
  28. // ArchiveHistoryListReq request params
  29. type ArchiveHistoryListReq = AidCommonReq
  30. // ArchiveVideosReq request params
  31. type ArchiveVideosReq = AidCommonReq
  32. // DataArchiveReq request params
  33. type DataArchiveReq = AidCommonReq
  34. // DataVideoQuitReq request params
  35. type DataVideoQuitReq struct {
  36. CreativeCommonReq
  37. Cid int64 `form:"cid" validate:"required"`
  38. }
  39. // DanmuDistriReq .
  40. type DanmuDistriReq struct {
  41. CreativeCommonReq
  42. Aid int64 `form:"aid" validate:"required"`
  43. Cid int64 `form:"cid" validate:"required"`
  44. }
  45. // DataBaseReq request params
  46. type DataBaseReq = CreativeCommonReq
  47. // DataTrendReq request params
  48. type DataTrendReq = CreativeCommonReq
  49. // DataActionReq request params
  50. type DataActionReq = CreativeCommonReq
  51. // DataFanReq request params
  52. type DataFanReq = CreativeCommonReq
  53. // DataPandectReq request params
  54. type DataPandectReq = DataCommonReq
  55. // DataSurveyReq request params
  56. type DataSurveyReq = DataCommonReq
  57. // DataPlaySourceReq request params
  58. type DataPlaySourceReq = CreativeCommonReq
  59. // DataPlayAnalysisReq request params
  60. type DataPlayAnalysisReq struct {
  61. CreativeCommonReq
  62. Copyright int8 `form:"copyright"`
  63. }
  64. // DataArticleRankReq request params
  65. type DataArticleRankReq = DataCommonReq