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

package v1
// GetCoverImageReq 原获取图片
type GetCoverImageReq struct {
Id int `json:"id" v:"required"`
}
// UpdateCoverImageReq 原修改图片
type UpdateCoverImageReq struct {
Id int `json:"id" v:"required"`
Url string `json:"url" v:"required"`
}
// GetConfigReq 获取配置信息
type GetConfigReq struct {
Id int `json:"id" v:"required"`
}
// GetConfigRes 获取配置信息
type GetConfigRes struct {
ImgUrl string `json:"img_url"`
Video string `json:"video"`
}
// UpdateConfigReq 更新配置信息
type UpdateConfigReq struct {
Id int `json:"id" v:"required"`
Url string `json:"url" v:"required"`
Video string `json:"video"`
}