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.
 
 
 
 

12 lines
231 B

package shows
import (
"practice_Go/internal/model/entity"
)
type GetListReq struct {
Type *int `v:"in:1,2" dc:"类型(1=文章,2=视频)"`
}
type GetListRes struct {
List []*entity.Shows `json:"list" dc:"shows list"`
}