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

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