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.

30 lines
669 B

  1. package v1
  2. // GetCoverImageReq 原获取图片
  3. type GetCoverImageReq struct {
  4. Id int `json:"id" v:"required"`
  5. }
  6. // UpdateCoverImageReq 原修改图片
  7. type UpdateCoverImageReq struct {
  8. Id int `json:"id" v:"required"`
  9. Url string `json:"url" v:"required"`
  10. }
  11. // GetConfigReq 获取配置信息
  12. type GetConfigReq struct {
  13. Id int `json:"id" v:"required"`
  14. }
  15. // GetConfigRes 获取配置信息
  16. type GetConfigRes struct {
  17. ImgUrl string `json:"img_url"`
  18. Video string `json:"video"`
  19. }
  20. // UpdateConfigReq 更新配置信息
  21. type UpdateConfigReq struct {
  22. Id int `json:"id" v:"required"`
  23. Url string `json:"url" v:"required"`
  24. Video string `json:"video"`
  25. }