community_question.go 919 B

1234567891011121314151617181920212223242526272829
  1. package request
  2. type QuestionDeleteReq struct {
  3. QuestionId int `description:"问题ID"`
  4. }
  5. type QuestionDistributeReq struct {
  6. QuestionId int `description:"问题ID"`
  7. AdminId int `description:"研究员ID"`
  8. ResearchGroupFirstId int `description:"研究方向一级分组ID"`
  9. ResearchGroupSecondId int `description:"研究方向二级分组ID"`
  10. }
  11. type QuestionMsgSendReq struct {
  12. QuestionId int `description:"问题ID"`
  13. }
  14. type QuestionEditReq struct {
  15. QuestionId int `description:"问题ID"`
  16. QuestionContent string `description:"问题内容"`
  17. }
  18. // QuestionTransferReq 问答转移请求体
  19. type QuestionTransferReq struct {
  20. QuestionId int `description:"问题ID"`
  21. ResearchGroupFirstId int `description:"研究方向一级分组ID"`
  22. ResearchGroupSecondId int `description:"研究方向二级分组ID"`
  23. AdminId int `description:"研究员ID"`
  24. }