activity.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. package request
  2. // AddActivityReq 新增活动请求
  3. type AddActivityReq struct {
  4. ActivityTypeId int `description:"活动类型ID"`
  5. ActivityTypeName string `description:"活动类型名称"`
  6. ActivityName string `description:"活动标题"`
  7. StartTime string `description:"活动开始时间,格式:2021-11-09 18:08:44"`
  8. EndTime string `description:"活动结束时间,格式:2021-11-09 18:08:44"`
  9. Speaker string `description:"主讲人"`
  10. SpeakerHeadPic string `description:"主讲人头像"`
  11. SpeakerBackgroundPic string `description:"主讲人背景图"`
  12. MainlandTel string `description:"大陆拨入"`
  13. HongKongTel string `description:"香港拨入"`
  14. TaiwanTel string `description:"台湾拨入"`
  15. AmericaTel string `description:"美国拨入"`
  16. SingaporeTel string `description:"新加坡拨入"`
  17. ParticipationCode string `description:"参会密码"`
  18. LinkParticipants string `description:"参会链接"`
  19. IsLimitPeople int8 `description:"是否限制人数 1是,0否"`
  20. LimitPeopleNum int `description:"限制人数数量"`
  21. ReportLink string `description:"报告链接"`
  22. ReportName string `description:"报告标题"`
  23. ReportId int `description:"报告id"`
  24. City string `description:"城市"`
  25. Address string `description:"活动地址"`
  26. Remarks string `description:"备注"`
  27. ArticleId int `description:"报告链接所关联的文章ID"`
  28. PublishStatus int8 `description:"是否发布,枚举值,不发布(保存):0; 发布:1"`
  29. PosterList []ActivityPosterReq `description:"海报文件列表"`
  30. PermissionIdList []int `description:"权限id列表"`
  31. IsNewReport int `description:"是否关联新报告 0-否 1-是"`
  32. }
  33. // EditActivityReq 编辑活动请求
  34. type EditActivityReq struct {
  35. ActivityId int `description:"活动ID"`
  36. ActivityName string `description:"活动标题"`
  37. StartTime string `description:"活动开始时间,格式:2021-11-09 18:08:44"`
  38. EndTime string `description:"活动结束时间,格式:2021-11-09 18:08:44"`
  39. Speaker string `description:"主讲人"`
  40. SpeakerHeadPic string `description:"主讲人头像"`
  41. SpeakerBackgroundPic string `description:"主讲人背景图"`
  42. MainlandTel string `description:"大陆拨入"`
  43. HongKongTel string `description:"香港拨入"`
  44. TaiwanTel string `description:"台湾拨入"`
  45. AmericaTel string `description:"美国拨入"`
  46. SingaporeTel string `description:"新加坡拨入"`
  47. ParticipationCode string `description:"参会密码"`
  48. LinkParticipants string `description:"参会链接"`
  49. IsLimitPeople int8 `description:"是否限制人数 1是,0否"`
  50. LimitPeopleNum int `description:"限制人数数量"`
  51. ReportLink string `description:"报告链接"`
  52. ReportName string `description:"报告标题"`
  53. ReportId int `description:"报告id"`
  54. City string `description:"城市"`
  55. Address string `description:"活动地址"`
  56. Remarks string `description:"备注"`
  57. ArticleId int `description:"报告链接所关联的文章ID"`
  58. PublishStatus int8 `description:"是否发布,枚举值,不发布(保存):0; 发布:1"`
  59. VoiceList []ActivityVoiceReq `description:"音频文件列表"`
  60. PosterList []ActivityPosterReq `description:"海报文件列表"`
  61. PermissionIdList []int `description:"权限id列表"`
  62. IsNewReport int `description:"是否关联新报告 0-否 1-是"`
  63. }
  64. // ActivityVoiceReq 音频数据
  65. type ActivityVoiceReq struct {
  66. Url string `description:"音频资源url地址"`
  67. Name string `description:"音频名称"`
  68. PlaySeconds string `description:"音频时长"`
  69. }
  70. // ActivityPosterReq 海报数据
  71. type ActivityPosterReq struct {
  72. Url string `description:"海报资源url地址"`
  73. Name string `description:"海报名称"`
  74. }
  75. // PublishActivityReq 发布活动请求
  76. type PublishActivityReq struct {
  77. ActivityId int `description:"活动ID"`
  78. }
  79. // CreateQsReq 创建全时会议请求
  80. type CreateQsReq struct {
  81. ActivityId int `description:"活动ID"`
  82. Time int `description:"会议时长(分钟)"`
  83. }
  84. // CancelQsReq 取消全时会议请求
  85. type CancelQsReq struct {
  86. ActivityId int `description:"活动ID"`
  87. }
  88. // QsShare2SellerReq 全时会议-分享给销售请求
  89. type QsShare2SellerReq struct {
  90. QsId int `description:"全时会议关联ID"`
  91. SellerId int `description:"销售ID"`
  92. }
  93. // ComeInShare2SellerReq 进门会议-分享给销售请求
  94. type ComeInShare2SellerReq struct {
  95. ComeinEventId int `description:"进门会议ID"`
  96. SellerId int `description:"销售ID"`
  97. }