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
19 lines
415 B
package v1
|
|
|
|
// 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"`
|
|
}
|