package v1 import ( "practice_Go/internal/model/entity" "github.com/gogf/gf/v2/frame/g" ) type Live struct { entity.GoLives Reservation int `json:"reservation" dc:"预约状态"` } type GetLiveReq struct { g.Meta `path:"/live" method:"get" tags:"Live" summary:"获取直播列表"` UserId int `v:"required|min:90000000|max:99999999#用户ID不能为空|用户ID不能小于90000000|用户ID不能大于99999999" dc:"用户ID"` } type GetLiveRes struct { List []*Live `json:"liveList" dc:"直播列表"` }