蛋蛋星球-客户端
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.

md_college.go 1.2 KiB

4 weeks ago
12345678910111213141516171819202122232425262728293031323334353637
  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. AppName string `json:"app_name"`
  33. WatchCount string `json:"watch_count" example:"学习数量"`
  34. LikeCount string `json:"like_count" example:"点赞数量"`
  35. ForwardCount string `json:"forward_count" example:"分享数量"`
  36. }