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.
|
|
package v1
import ( "practice_Go/internal/model/entity"
"github.com/gogf/gf/v2/frame/g" )
type GetChannelReq struct { g.Meta `path:"/channel" method:"get" tags:"Channel" summary:"获取单个频道"` Id int `v:"required|min:1#频道ID不能为空|频道ID不能小于1" dc:"频道ID"` userId int `v:"required|min:90000000|max:99999999#用户ID不能为空|用户ID不能小于90000000|用户ID不能大于99999999" dc:"用户ID"` }
type GetChannelRes struct { *entity.GoChannels `json:"channel" dc:"单个频道"` List []*entity.GoShows `json:"shows" dc:"频道下的所有节目和对应创作人"` }
|