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.

19 lines
415 B

  1. package v1
  2. // GetConfigReq 获取配置信息
  3. type GetConfigReq struct {
  4. Id int `json:"id" v:"required"`
  5. }
  6. // GetConfigRes 获取配置信息
  7. type GetConfigRes struct {
  8. ImgUrl string `json:"img_url"`
  9. Video string `json:"video"`
  10. }
  11. // UpdateConfigReq 更新配置信息
  12. type UpdateConfigReq struct {
  13. Id int `json:"id" v:"required"`
  14. Url string `json:"url" v:"required"`
  15. Video string `json:"video"`
  16. }