package srv_videocreater import ( "time" "videoweb/pub/models/videocreatermod" "videoweb/pub/pubdef" ) type VideoCreaterReq struct { pubdef.Page } type VideoCreaterResp struct { Total int64 `json:"total"` List videocreatermod.VideoCreaterInfoList `json:"list"` } type VideoCreaterUpdate struct { AppId *int32 `json:"appId" bson:"appId,omitempty"` // appId,唯一id Name *string `json:"name" bson:"name,omitempty"` // 名称 Slug *string `json:"slug" bson:"slug,omitempty"` // slug Status *bool `json:"status" bson:"status,omitempty"` // 上架状态 Sort *int64 `json:"sort" bson:"sort,omitempty"` // 排序 SeoInfo *pubdef.SeoValue `json:"seoInfo" bson:"seoInfo,omitempty"` // Seo相关信息 UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt,omitempty"` IsReIndexNow *bool `json:"isReIndexNow" bson:"isReIndexNow"` // 是否重新提交索引 MediaTypes *[]int64 `json:"mediaTypes" bson:"mediaTypes"` // 作者关联的资源类型 1视频 IndexNow *int64 `bson:"indexNow,omitempty" json:"-"` Works *int64 `json:"works" bson:"works,omitempty"` // 作品数量 Image *string `json:"image" bson:"image,omitempty"` // 头像 Background *string `json:"background" bson:"background,omitempty"` // 背景 CreateType *int64 `json:"createType" bson:"createType,omitempty"` // 创作者类型 0=普通 1=官方 Desc *string `json:"desc" bson:"desc,omitempty"` // 简介 } type VideoCreaterUpdateReq struct { Id int64 `json:"id" binding:"required"` Param VideoCreaterUpdate `json:"param" bson:"param"` // appId,唯一id } type VideoCreaterDelReq struct { Id int64 `json:"id" binding:"required"` }