蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 4 дана
123456789101112131415161718192021222324252627282930313233343536
  1. package md
  2. type CollegeCate struct {
  3. Id string `json:"id"`
  4. Name string `json:"name"`
  5. Img string `json:"img"`
  6. }
  7. type CollegeListReq struct {
  8. Page string `json:"page"`
  9. Limit string `json:"limit"`
  10. CateId string `json:"cate_id"`
  11. }
  12. type CollegeDetailReq struct {
  13. Id string `json:"id"`
  14. }
  15. type CollegeListResp struct {
  16. Id string `json:"id"`
  17. Url string `json:"url"`
  18. Title string `json:"title"`
  19. Cover string `json:"cover" example:"封面图"`
  20. CreateAt string `json:"create_at"`
  21. WatchCount string `json:"watch_count" example:"学习数量"`
  22. LikeCount string `json:"like_count" example:"点赞数量"`
  23. ForwardCount string `json:"forward_count" example:"分享数量"`
  24. }
  25. type CollegeDetailResp struct {
  26. Id string `json:"id"`
  27. Url string `json:"url"`
  28. Title string `json:"title"`
  29. Content string `json:"content"`
  30. IsLike string `json:"is_like" example:"是否点赞 0否 1是"`
  31. CreateAt string `json:"create_at"`
  32. WatchCount string `json:"watch_count" example:"学习数量"`
  33. LikeCount string `json:"like_count" example:"点赞数量"`
  34. ForwardCount string `json:"forward_count" example:"分享数量"`
  35. }