{ "schemes": [ "http", "https" ], "swagger": "2.0", "info": { "description": "这是视频站APP接口服务.", "title": "视频站APP接口", "contact": {}, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "1.0" }, "host": "视频站-api.lcncctn.com", "basePath": "/", "paths": { "/api/app/actress/list": { "get": { "description": "返回导航、广告和按热度值降序排列的女优列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "女优相关接口" ], "summary": "女优榜单列表 -- by 王鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.QueryActressListResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/actress/work/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询指定女优详情和作品列表,支持上架时间/观看量/收藏量升降序,每间隔8条作品数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "女优相关接口" ], "summary": "指定女优详情和作品列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "上架时间升序/降序(1-升序 2降序)", "name": "addedTimeSort", "in": "query" }, { "type": "integer", "description": "女优ID", "name": "id", "in": "query" }, { "type": "integer", "description": "按收藏(点赞)量升序/降序(1-升序 2降序)", "name": "likesSort", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "string", "description": "女优slug,非空时优先按slug解析女优ID", "name": "slug", "in": "query" }, { "type": "integer", "description": "按观看量升序/降序(1-升序 2降序)", "name": "watchTimesSort", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryActressWorkListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "allOf": [ { "$ref": "#/definitions/proto.QueryVideoListItem" }, { "type": "object", "properties": { "VideoInfo": { "$ref": "#/definitions/proto.VideoInfo" } } } ] } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/applist/list": { "get": { "description": "返回应用分类列表,每个分类下含应用信息列表;categoryId=0 返回第一个分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "应用列表" ], "summary": "查询应用列表", "parameters": [ { "type": "integer", "description": "当前分类ID,0表示默认第一个分类", "name": "categoryId", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.AppListResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/auth/getInfo": { "get": { "description": "根据当前登录 token 查询用户基础信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户认证" ], "summary": "获取当前登录用户信息", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/authser.UserInfoResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/auth/login": { "post": { "description": "账号均可作为登录凭证", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户认证" ], "summary": "登录", "parameters": [ { "description": "登录参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/authapi.loginReq" } } ], "responses": { "200": { "description": "登录成功,返回 token 及用户基本信息", "schema": { "$ref": "#/definitions/authser.LoginResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/auth/profile": { "post": { "description": "账号必填;avatar、oldPassword+newPassword 均为可选,至少提供一项。修改密码时旧密码和新密码必须同时提供。", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户认证" ], "summary": "修改用户资料(头像 / 密码,可任意组合)", "parameters": [ { "description": "修改资料参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/authapi.updateProfileReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/auth/register": { "post": { "description": "已登录游客传入账号密码完成升级;未登录用户直接注册新账号。", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户认证" ], "summary": "注册", "parameters": [ { "description": "注册参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/authapi.registerReq" } } ], "responses": { "200": { "description": "注册成功,返回 token 及用户基本信息", "schema": { "$ref": "#/definitions/authser.LoginResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/comment/list": { "get": { "description": "按对象查询树形评论列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论APP" ], "summary": "评论列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "对象ID", "name": "objectId", "in": "query" }, { "enum": [ 0, 4 ], "type": "integer", "x-enum-comments": { "CommentObjectTypePlaylet": "短剧", "CommentObjectTypeVideo": "视频" }, "x-enum-varnames": [ "CommentObjectTypeVideo", "CommentObjectTypePlaylet" ], "description": "对象类型 0=视频 4=短剧", "name": "objectType", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.CommentListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.CommentInfo" } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/comment/send": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "发布评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论APP" ], "summary": "发布评论 -- by 王鸣", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.CommentSendReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/config/footer/info": { "get": { "description": "返回APP底部品牌、底部导航和联系方式", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app配置相关接口" ], "summary": "查询APP底部信息 -- by 王鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.FooterInfoResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/config/richtext/list": { "get": { "description": "返回启用状态的富文本内容,支持按ids或titles过滤", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app配置相关接口" ], "summary": "查询APP富文本内容列表 -- by 王鸣", "parameters": [ { "type": "string", "description": "富文本ID,多个用英文逗号分隔", "name": "ids", "in": "query" }, { "type": "string", "description": "富文本标题,多个用英文逗号分隔", "name": "titles", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.AppRichTextListResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/content/tag/list": { "get": { "description": "返回启用且有绑定内容数量的统一标签,contentTagType非必填,按绑定内容数量倒序排序", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app配置相关接口" ], "summary": "查询APP统一标签列表 -- by 王鸣", "parameters": [ { "enum": [ 1, 5 ], "type": "integer", "x-enum-comments": { "ContentTagTypePlaylet": "短剧", "ContentTagTypeVideo": "视频" }, "x-enum-varnames": [ "ContentTagTypeVideo", "ContentTagTypePlaylet" ], "description": "内容类型 1-视频 5-短剧,不传返回全部有绑定数量的标签", "name": "contentTagType", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.AppContentTagListResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/home": { "get": { "description": "首页分类数据", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页" ], "summary": "首页 --by 旺鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.DataResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/home/base": { "get": { "description": "只返回翻译、配置、底部翻译、广告和公告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页" ], "summary": "首页公共数据 --by 旺鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeBaseResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/home/tags": { "get": { "description": "返回视频、短剧的标签信息,以及基础导航、配置、广告和公告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页" ], "summary": "首页标签数据 --by 旺鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeTagsResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/login/guest": { "post": { "description": "按设备 ID 查找已有游客账号,找不到则自动注册。若请求携带有效 token 则优先复用该用户。", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户认证" ], "summary": "游客登录", "parameters": [ { "description": "设备信息", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/authapi.guestLoginReq" } } ], "responses": { "200": { "description": "登录成功", "schema": { "$ref": "#/definitions/authser.LoginResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/navigation/header": { "get": { "description": "查询导航类型为URL模式和二级导航的头部导航配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app导航相关接口" ], "summary": "查询头部导航配置 -- by 王鸣", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.AppTranslationInfo" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/chapter/info": { "get": { "description": "根据剧集ID查询短剧剧集详情、所属短剧、剧集列表、热门短剧列表和点赞状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "app端短剧剧集详情 -- by 王鸣", "parameters": [ { "type": "integer", "description": "剧集ID", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryPlayletChapterInfoResp" }, { "type": "object", "properties": { "chapterInfo": { "$ref": "#/definitions/proto.PlayletChapterInfo" }, "chapterList": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletChapterInfo" } }, "hotPlayletList": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "playletInfo": { "$ref": "#/definitions/proto.PlayletData" } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/info": { "get": { "description": "查询短剧详情、剧集列表、热门短剧列表和点赞状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "短剧详情 -- by 王鸣", "parameters": [ { "type": "integer", "description": "短剧ID", "name": "id", "in": "query" }, { "type": "string", "description": "短剧slug,非空时优先按slug解析短剧ID", "name": "slug", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryPlayletInfoResp" }, { "type": "object", "properties": { "chapterList": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletChapterInfo" } }, "hotPlayletList": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "playletInfo": { "$ref": "#/definitions/proto.PlayletDetailInfo" } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/like": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "当前登录用户点赞或取消点赞指定短剧,isLike=true表示点赞,isLike=false表示取消点赞", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "点赞或取消点赞短剧 -- by 王鸣", "parameters": [ { "description": "点赞或取消点赞请求", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.LikePlayletReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LikePlayletResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/rank/list": { "get": { "description": "分页查询短剧排行榜,rankPeriod=0点赞榜(累计点赞)、1周榜/2月榜/3年榜(周期观看量),独立缓存10分钟,每榜最多50条,pageSize不是50时强制为50", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "短剧排行榜分页列表 -- by 王鸣", "parameters": [ { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "榜单类型 0-点赞榜 1-周榜 2-月榜 3-年榜", "name": "rankPeriod", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.PlayletRankResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletRankData" } } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/recommend/list": { "get": { "description": "分页查询短剧列表,带穿插列表广告,每间隔8条短剧数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "app端推荐短剧列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "短剧分类ID,不传查询全部分类", "name": "categoryId", "in": "query" }, { "type": "string", "description": "分类slug,非空时优先按slug解析分类ID", "name": "categorySlug", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "排序方式 1-推荐 2-最新 3-最热", "name": "sortList", "in": "query" }, { "type": "integer", "description": "标签ID,不传查询全部标签", "name": "tagId", "in": "query" }, { "type": "string", "description": "标签slug,非空时优先按slug解析标签ID", "name": "tagSlug", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.PlayletRecommendListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletRecommendListItem" } } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/playlet/tag/{id}": { "get": { "description": "根据统一标签ID分页查询短剧列表,带穿插列表广告,每间隔8条短剧数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "app短剧相关接口" ], "summary": "app端根据标签ID查询短剧列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "标签ID", "name": "id", "in": "path", "required": true }, { "type": "integer", "description": "页码,默认1", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "每页数量,默认20,最大100", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.PlayletRecommendListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletRecommendListItem" } } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/questionnaire/submit": { "post": { "description": "用户提交问题反馈问卷", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "问卷调查APP" ], "summary": "提交问卷", "parameters": [ { "description": "提交参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.QuestionnaireSubmitReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/richtext": { "get": { "description": "从缓存中查询启用状态的富文本信息", "produces": [ "application/json" ], "tags": [ "富文本" ], "summary": "按 title 查询富文本", "parameters": [ { "type": "string", "description": "富文本内部标题", "name": "title", "in": "query", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.RichTextInfo" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/app/upload/image": { "post": { "description": "将图片转发至存储服务 /media/web/autopublish/image", "consumes": [ "multipart/form-data" ], "produces": [ "application/json" ], "tags": [ "上传" ], "summary": "图片上传", "parameters": [ { "type": "file", "description": "图片文件", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/uploadser.ImageUploadResp" } }, "400": { "description": "参数错误", "schema": { "type": "string" } } } } }, "/api/app/upload/videoBody": { "post": { "description": "将视频分片转发至存储服务 /media/web/autopublish/videoBody", "consumes": [ "multipart/form-data" ], "produces": [ "application/json" ], "tags": [ "上传" ], "summary": "视频分片上传", "parameters": [ { "type": "string", "description": "视频任务ID", "name": "taskId", "in": "formData", "required": true }, { "type": "string", "description": "当前分片序号,从0开始", "name": "pos", "in": "formData", "required": true }, { "type": "string", "description": "上传用户名,为空默认 questionnaires", "name": "uploadUserName", "in": "formData" }, { "type": "file", "description": "分片文件数据", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/uploadser.VideoBodyResp" } }, "400": { "description": "参数错误", "schema": { "type": "string" } } } } }, "/api/app/upload/videoOk": { "post": { "description": "所有分片上传完毕后调用,转发至存储服务 /media/web/autopublish/videoOk", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "上传" ], "summary": "视频分片上传完成通知", "parameters": [ { "description": "{ \\", "name": "param", "in": "body", "required": true, "schema": { "type": "object" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/uploadser.VideoOkResp" } }, "400": { "description": "参数错误", "schema": { "type": "string" } } } } }, "/api/app/video/favorite": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "当前登录用户收藏或取消收藏指定视频,isFavorite=true表示收藏,isFavorite=false表示取消收藏", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "收藏或取消收藏视频 --by 旺鸣", "parameters": [ { "description": "收藏或取消收藏请求", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.FavoriteVideoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.FavoriteVideoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/favorite/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "当前登录用户收藏视频分页列表,按收藏时间倒序排序", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "当前登录用户收藏视频分页列表 --by 旺鸣", "parameters": [ { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryFavoriteVideoListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.FavoriteVideoListItem" } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/info": { "get": { "description": "查询视频详情、热门视频列表、收藏状态和点赞状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "视频详情 -- by 王鸣", "parameters": [ { "type": "integer", "name": "id", "in": "query" }, { "type": "string", "description": "视频slug,非空时优先按slug解析视频ID", "name": "slug", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryVideoInfoResp" }, { "type": "object", "properties": { "hotVideoList": { "type": "array", "items": { "$ref": "#/definitions/proto.VideoData" } }, "videoInfo": { "$ref": "#/definitions/proto.VideoDetailInfo" } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/like": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "当前登录用户点赞或取消点赞指定视频,isLike=true表示点赞,isLike=false表示取消点赞", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "点赞或取消点赞视频 -- by 王鸣", "parameters": [ { "description": "点赞或取消点赞请求", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.LikeVideoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LikeVideoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/more": { "get": { "description": "根据分类id查询视频列表,带穿插列表广告,每间隔8条视频数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "根据分类id查询视频列表 --by 王鸣", "parameters": [ { "type": "integer", "description": "视频分类id", "name": "categoryId", "in": "query" }, { "type": "string", "description": "分类slug,非空时优先按slug解析分类ID", "name": "categorySlug", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.QueryVideoResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "allOf": [ { "$ref": "#/definitions/proto.QueryVideoListItem" }, { "type": "object", "properties": { "VideoInfo": { "$ref": "#/definitions/proto.VideoInfo" } } } ] } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/rank": { "get": { "description": "视频收藏排行榜", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "视频收藏排行榜", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.RankResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/rank/list": { "get": { "description": "分页查询视频排行榜,rankPeriod=0点赞榜(累计点赞)、1周榜/2月榜/3年榜(周期观看量),独立缓存10分钟,每榜最多50条,pageSize不是50时强制为50", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "视频排行榜分页列表 -- by 王鸣", "parameters": [ { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "榜单类型 0-点赞榜 1-周榜 2-月榜 3-年榜", "name": "rankPeriod", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.VideoRankResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.ContentData" } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/recommend/list": { "get": { "description": "分页查询视频列表,带穿插列表广告,每间隔8条视频数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "app端推荐视频列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "分类id,不传查询全部分类id", "name": "categoryId", "in": "query" }, { "type": "string", "description": "分类slug,非空时优先按slug解析分类ID", "name": "categorySlug", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "排序方式 1-推荐 2-最新 3-最热", "name": "sortList", "in": "query" }, { "type": "integer", "description": "标签ID,不传查询全部标签", "name": "tagId", "in": "query" }, { "type": "string", "description": "标签slug,非空时优先按slug解析标签ID", "name": "tagSlug", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.VideoRecommendListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.VideoRecommendListItem" } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/app/video/tag/{id}": { "get": { "description": "根据统一标签ID分页查询视频列表,带穿插列表广告,每间隔8条视频数据插入一个广告", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频相关接口" ], "summary": "app端根据标签ID查询视频列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "标签ID", "name": "id", "in": "path", "required": true }, { "type": "integer", "description": "页码,默认1", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "每页数量,默认20,最大100", "name": "pageSize", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.VideoRecommendListResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.VideoRecommendListItem" } } } } ] } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/businessCooperation": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "导航", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航" ], "summary": "导航", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/consulting": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "招募", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "招募" ], "summary": "招募", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/consultinginfo/:id": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "招募详情", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "招募详情" ], "summary": "招募详情", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/dh": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "导航", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航" ], "summary": "导航", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.DHHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/dmca": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "dmca", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "dmca" ], "summary": "dmca", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LawAndTrustHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/privacyPolicy": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "隐私策略", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "隐私策略" ], "summary": "隐私策略", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LawAndTrustHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/search": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "搜索,支持查询参数:title=关键词\u0026page=1\u0026type=0\u0026sort=default(不传type=全部;type: 0=视频 1=女优 3=AV 6=短剧;sort: default/hot/new)", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "搜索" ], "summary": "搜索", "parameters": [ { "type": "string", "description": "搜索关键词", "name": "title", "in": "query" }, { "type": "integer", "description": "页码,默认1", "name": "page", "in": "query" }, { "type": "integer", "description": "媒体类型,不传=全部,0=视频 1=女优 3=AV 6=短剧", "name": "type", "in": "query" }, { "type": "string", "description": "排序方式 default/hot/new,默认default", "name": "sort", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.SearchResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/servicesProject": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "导航", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航" ], "summary": "导航", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.HomeHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/statement": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "合规声明", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "合规声明" ], "summary": "合规声明", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LawAndTrustHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/useragreement": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "用户协议", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户协议" ], "summary": "用户协议", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.LawAndTrustHtmlData" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } } }, "definitions": { "actress.Meas": { "type": "object", "properties": { "blood": { "description": "血型", "type": "string" }, "bust": { "description": "胸围 英寸", "type": "integer" }, "cup": { "description": "罩杯(A:1-G:9)1表示A,2表示B,3表示C,4表示D,5表示E,6表示F,7表示G,8表示H,9表示I", "type": "integer" }, "dia": { "description": "直径 毫米(前端可以显示为厘米,如45毫米,显示为4.5厘米,返回后端时,乘以10,保留整数,返回45)", "type": "integer" }, "gender": { "description": "性别 0:女 1:男 2:其他", "type": "integer" }, "height": { "description": "身高 厘米", "type": "integer" }, "hip": { "description": "臀围 英寸", "type": "integer" }, "len": { "description": "长度 毫米(前端可以显示为厘米,如145毫米,显示为14.5厘米,返回后端时,乘以10,保留整数,返回145)", "type": "integer" }, "waist": { "description": "腰围 英寸", "type": "integer" }, "weight": { "description": "体重 公斤", "type": "integer" } } }, "authapi.guestLoginReq": { "type": "object", "properties": { "devID": { "description": "设备 ID(首选)", "type": "string" }, "deviceId": { "description": "设备 ID 第二版本(备用)", "type": "string" }, "mac": { "description": "设备 MAC 地址(备用)", "type": "string" } } }, "authapi.loginReq": { "type": "object", "required": [ "account", "password" ], "properties": { "account": { "description": "账号", "type": "string" }, "password": { "description": "明文密码", "type": "string" } } }, "authapi.registerReq": { "type": "object", "required": [ "accountNo", "password" ], "properties": { "accountNo": { "description": "账号", "type": "string" }, "agentInviteCode": { "description": "邀请人的邀请码(可选)", "type": "string" }, "password": { "description": "明文密码", "type": "string" } } }, "authapi.updateProfileReq": { "type": "object", "required": [ "accountNo" ], "properties": { "accountNo": { "description": "账号(必填,用于定位用户)", "type": "string" }, "avatar": { "description": "新头像 URL(可选)", "type": "string" }, "newPassword": { "description": "新密码明文(修改密码时必填)", "type": "string" }, "nikeName": { "description": "昵称", "type": "string" }, "oldPassword": { "description": "旧密码明文(修改密码时必填)", "type": "string" } } }, "authser.LoginResp": { "type": "object", "properties": { "accountNo": { "type": "string" }, "avatar": { "description": "头像", "type": "string" }, "inviteCode": { "description": "邀请码", "type": "string" }, "isNewUser": { "description": "是否本次请求新创建的用户", "type": "boolean" }, "isRegister": { "description": "是否已完成账号注册", "type": "boolean" }, "loginType": { "description": "登录方式 0=设备 3=账号", "allOf": [ { "$ref": "#/definitions/pubdef.LoginType" } ] }, "nickName": { "type": "string" }, "recharge": { "description": "当前金币个数", "type": "integer" }, "status": { "$ref": "#/definitions/pubdef.UserStatus" }, "token": { "type": "string" }, "userId": { "type": "integer" } } }, "authser.UserInfoResp": { "type": "object", "properties": { "accountNo": { "type": "string" }, "avatar": { "type": "string" }, "inviteCode": { "type": "string" }, "isRegister": { "type": "boolean" }, "loginType": { "$ref": "#/definitions/pubdef.LoginType" }, "nickName": { "type": "string" }, "recharge": { "type": "integer" }, "status": { "$ref": "#/definitions/pubdef.UserStatus" }, "userId": { "type": "integer" } } }, "contenttagmod.ContentTagType": { "type": "integer", "enum": [ 1, 5 ], "x-enum-comments": { "ContentTagTypePlaylet": "短剧", "ContentTagTypeVideo": "视频" }, "x-enum-varnames": [ "ContentTagTypeVideo", "ContentTagTypePlaylet" ] }, "playletchaptermod.PayType": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "PayTypeCoin": "金币", "PayTypeFree": "免费", "PayTypeVip": "VIP" }, "x-enum-varnames": [ "PayTypeFree", "PayTypeCoin", "PayTypeVip" ] }, "playletchaptermod.WatermarkStatus": { "type": "integer", "enum": [ 0, 1, 2, 3, 4 ], "x-enum-comments": { "WatermarkStatusDone": "已完成", "WatermarkStatusFailed": "处理失败", "WatermarkStatusPending": "未处理(待 mediafile/sync)", "WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)", "WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)" }, "x-enum-varnames": [ "WatermarkStatusPending", "WatermarkStatusRegistered", "WatermarkStatusProcessing", "WatermarkStatusDone", "WatermarkStatusFailed" ] }, "playletmod.ContentType": { "type": "integer", "enum": [ 0, 1, 2, 3, 4 ], "x-enum-comments": { "ContentTypeAlbum": "普通短剧/影集(对应 media_type=6)", "ContentTypeAnime": "动漫(对应 media_type=1)", "ContentTypeComic": "漫画短剧(对应 media_type=4)", "ContentTypeManga": "漫画(对应 media_type=2)", "ContentTypeTheater": "短剧(对应 media_type=5)" }, "x-enum-varnames": [ "ContentTypeTheater", "ContentTypeAlbum", "ContentTypeComic", "ContentTypeAnime", "ContentTypeManga" ] }, "playletmod.PayType": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "PayTypeCoin": "金币", "PayTypeFree": "免费", "PayTypeVip": "VIP" }, "x-enum-varnames": [ "PayTypeFree", "PayTypeCoin", "PayTypeVip" ] }, "playletmod.Status": { "type": "integer", "enum": [ 0, 1 ], "x-enum-comments": { "StatusDown": "下架", "StatusUp": "上架" }, "x-enum-varnames": [ "StatusDown", "StatusUp" ] }, "proto.ActressInfo": { "type": "object", "properties": { "alias": { "description": "别名", "type": "string" }, "avatar": { "description": "头像", "type": "string" }, "hotValue": { "description": "热度值", "type": "integer" }, "id": { "description": "Id", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "works": { "description": "作品数", "type": "integer" } } }, "proto.ActressInfoData": { "type": "object", "properties": { "alias": { "description": "别名", "type": "string" }, "avatar": { "description": "头像", "type": "string" }, "bornDate": { "description": "出生日期", "type": "string" }, "comments": { "description": "评论条数", "type": "integer" }, "cover": { "description": "封面大图", "type": "string" }, "debutDate": { "description": "出道日期", "type": "string" }, "desc": { "description": "详细描述", "type": "string" }, "hotValue": { "description": "热度值", "type": "integer" }, "id": { "description": "Id", "type": "integer" }, "meas": { "description": "三围", "allOf": [ { "$ref": "#/definitions/actress.Meas" } ] }, "measValue": { "description": "三围值", "type": "string" }, "office": { "description": "事务所", "type": "string" }, "region": { "description": "地区/国家", "type": "string" }, "score": { "description": "评分", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "showTimes": { "description": "展示次数", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "watchTimes": { "description": "观看次数", "type": "integer" }, "works": { "description": "作品数", "type": "integer" } } }, "proto.AdvitiseData": { "type": "object", "properties": { "AList": { "description": "固定12广告位", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "BList": { "description": "固定13广告位", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "detailTopList": { "description": "详情页顶部广告", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "detailbannerList": { "description": "详情banner", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "dialogList": { "description": "弹窗广告", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "floatingList": { "description": "悬浮小方块", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "friendList": { "description": "友链", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "homeList": { "description": "首页列表", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "launchScreenList": { "description": "启动页广告", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "mustAppList": { "description": "必备精品", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "nineGridList": { "description": "9宫格", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "postList": { "description": "列表穿插广告(视频、短剧、女优列表使用)", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "titleAppList": { "description": "标题广告(APP名称)", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } }, "videoList": { "description": "视频列表", "type": "array", "items": { "$ref": "#/definitions/proxy.AdvitiseInfo" } } } }, "proto.AnnouncementInfo": { "type": "object", "properties": { "appAddr": { "description": "吃瓜app (免费吃瓜 每日更新)", "type": "string" }, "foreverUrlAddr": { "description": "永久海外地址(翻墙访问 永不迷路)", "type": "string" }, "newUrlAddr": { "description": "新国内地址", "type": "string" }, "newUrlAddr1": { "description": "备用地址1", "type": "string" }, "newUrlAddr2": { "description": "备用地址1", "type": "string" }, "pdfAddr": { "description": "回家的路PDF", "type": "string" }, "translationAddr": { "description": "应用导航", "type": "string" }, "videoInfo": { "description": "热门信息", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfoData" } } } }, "proto.AppCategoryInfo": { "type": "object", "properties": { "appList": { "description": "应用列表", "type": "array", "items": { "$ref": "#/definitions/proto.AppInfoData" } }, "code": { "description": "分类编码(特殊值:12=广告位A 13=广告位B)", "type": "integer" }, "id": { "description": "分类ID", "type": "integer" }, "intro": { "description": "分类简介", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "title": { "description": "分类标题", "type": "string" } } }, "proto.AppContentTagItem": { "type": "object", "properties": { "bindCount": { "description": "当前查询类型绑定数量,不传type时为各类型绑定数量合计", "type": "integer" }, "id": { "description": "标签ID", "type": "integer" }, "name": { "description": "标签名称", "type": "string" }, "playletCount": { "description": "绑定短剧数量", "type": "integer" }, "rank": { "description": "排序", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "types": { "description": "支持类型 1-视频 5-短剧", "type": "array", "items": { "$ref": "#/definitions/contenttagmod.ContentTagType" } }, "videoCount": { "description": "绑定视频数量", "type": "integer" } } }, "proto.AppContentTagListResp": { "type": "object", "properties": { "list": { "description": "统一标签列表", "type": "array", "items": { "$ref": "#/definitions/proto.AppContentTagItem" } } } }, "proto.AppInfoData": { "type": "object", "properties": { "advitiseId": { "description": "广告ID(广告条目时返回)", "type": "string" }, "categoryId": { "description": "所属分类ID", "type": "integer" }, "description": { "description": "详细描述", "type": "string" }, "id": { "description": "应用ID", "type": "integer" }, "intro": { "description": "简介", "type": "string" }, "location": { "description": "广告位置ID", "type": "integer" }, "logo": { "description": "Logo 图片地址", "type": "string" }, "name": { "description": "应用名称", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "url": { "description": "跳转链接(已含渠道码)", "type": "string" } } }, "proto.AppListResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "category": { "description": "当前分类(含应用列表)", "allOf": [ { "$ref": "#/definitions/proto.AppCategoryInfo" } ] }, "categoryList": { "description": "应用分类列表(含各分类下的应用列表)", "type": "array", "items": { "$ref": "#/definitions/proto.AppCategoryInfo" } }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "path": { "description": "当前路径", "type": "string" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.AppRichTextItemResp": { "type": "object", "properties": { "content": { "description": "内容", "type": "string" }, "desc": { "description": "标题(app)", "type": "string" }, "id": { "description": "富文本ID", "type": "integer" }, "title": { "description": "标题", "type": "string" } } }, "proto.AppRichTextListResp": { "type": "object", "properties": { "list": { "description": "富文本内容列表", "type": "array", "items": { "$ref": "#/definitions/proto.AppRichTextItemResp" } } } }, "proto.AppTranslationInfo": { "type": "object", "properties": { "categoryList": { "type": "array", "items": { "$ref": "#/definitions/proto.TranslationCategory" } } } }, "proto.CommentInfo": { "type": "object", "properties": { "avatar": { "description": "用户头像", "type": "string" }, "commentCount": { "description": "该评论回复数量", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "评论ID", "type": "integer" }, "level": { "description": "评论级别", "type": "integer" }, "objectId": { "description": "对象ID", "type": "integer" }, "parentsId": { "description": "上级评论ID", "type": "integer" }, "replyUserName": { "description": "回复名称", "type": "string" }, "subComment": { "description": "子评论", "type": "array", "items": { "$ref": "#/definitions/proto.CommentInfo" } }, "text": { "description": "评论内容", "type": "string" }, "userName": { "description": "用户名称", "type": "string" } } }, "proto.CommentListResp": { "type": "object", "properties": { "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" } } }, "proto.CommentSendReq": { "type": "object", "properties": { "objectId": { "description": "对象ID", "type": "integer" }, "objectType": { "description": "对象类型 0=视频 4=短剧", "allOf": [ { "$ref": "#/definitions/pubdef.CommentObjectType" } ] }, "parentsId": { "description": "上级评论ID", "type": "integer" }, "text": { "description": "评论内容", "type": "string" } } }, "proto.ConfigInfo": { "type": "object", "properties": { "appAddr": { "description": "APP下载地址(落地页)", "type": "string" }, "channelCode": { "description": "渠道码", "type": "string" }, "dhDescription": { "description": "导航SEO描述", "type": "string" }, "dhKeyworld": { "description": "导航SEO关键字", "type": "array", "items": { "type": "string" } }, "dhNewUrlAddr1": { "description": "导航页-线路1", "type": "string" }, "dhNewUrlAddr2": { "description": "导航页-线路2", "type": "string" }, "dhNewUrlAddr3": { "description": "导航页-线路3", "type": "string" }, "dhSiteName": { "description": "导航SEO网站名称", "type": "string" }, "dhTitle": { "description": "导航SEO标题", "type": "string" }, "enableH265": { "description": "是否允许客户端使用 H265 地址播放", "type": "boolean" }, "foreverUrlAddr": { "description": "永久地址", "type": "string" }, "freeVPN": { "description": "免费vpn链接", "type": "string" }, "gitAddr": { "description": "git地址", "type": "string" }, "gmailAddr": { "description": "邮箱地址", "type": "string" }, "imgAppUsCdn": { "description": "图片CDN(海外app使用)", "type": "string" }, "imgCdn": { "description": "图片CDN", "type": "string" }, "m3u8DayRateLimitMax": { "description": "每 IP 每天最多不同正片数", "type": "integer" }, "mediaAppUsCdn": { "description": "视频CDN(海外app使用)", "type": "string" }, "newUrlAddr": { "description": "最新地址", "type": "string" }, "newUrlAddr1": { "description": "最新地址(备用地址1)", "type": "string" }, "newUrlAddr2": { "description": "最新地址(备用地址2)", "type": "string" }, "pdfAddr": { "description": "回家的路PDF", "type": "string" }, "potaoGroup": { "description": "土豆群", "type": "string" }, "qq": { "description": "qq群", "type": "string" }, "reportSdkConfig": { "description": "数据上报SDK域名配置", "type": "string" }, "telegram": { "description": "商务tg", "type": "string" }, "telegramAdd": { "description": "加入我们tg", "type": "string" }, "tgGroup": { "description": "tg群", "type": "string" }, "translationAddr": { "description": "应用导航", "type": "string" }, "tsCdn": { "description": "视频CDN", "type": "string" }, "twitterAddr": { "description": "推特地址", "type": "string" }, "useIngAddress": { "description": "所有使用中的域名", "type": "array", "items": { "type": "string" } }, "webAddr": { "description": "网站SEO网站地址", "type": "string" }, "webDescription": { "description": "网站SEO描述", "type": "string" }, "webKeyworld": { "description": "网站SEO关键字", "type": "array", "items": { "type": "string" } }, "webSiteName": { "description": "网站SEO网站名称", "type": "string" }, "webTitle": { "description": "网站SEO标题", "type": "string" }, "weiChart": { "description": "微信群", "type": "string" } } }, "proto.ContentData": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.DHHtmlData": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "completePath": { "type": "string" }, "config": { "description": "配置文件", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotNavs": { "description": "热门导航", "type": "array", "items": { "$ref": "#/definitions/proto.HotNavItem" } }, "hotSearch": { "description": "热搜", "type": "array", "items": { "$ref": "#/definitions/proto.HotSearchItem" } }, "path": { "type": "string" }, "richTextInfo": { "description": "富文本", "allOf": [ { "$ref": "#/definitions/proto.RichTextInfo" } ] }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.DataResp": { "type": "object", "properties": { "actressInfoList": { "description": "女优信息", "type": "array", "items": { "$ref": "#/definitions/proto.ActressInfo" } }, "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "homeBannerList": { "description": "首页banner信息列表", "type": "array", "items": { "$ref": "#/definitions/proto.HomeBannerInfo" } }, "path": { "description": "当前路径", "type": "string" }, "playletData": { "description": "首页短剧数据", "allOf": [ { "$ref": "#/definitions/proto.HomePlayletDataResp" } ] }, "videoData": { "description": "首页视频数据", "allOf": [ { "$ref": "#/definitions/proto.HomeVideoDataResp" } ] } } }, "proto.FavoriteVideoListItem": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.FavoriteVideoReq": { "type": "object", "required": [ "id", "isFavorite" ], "properties": { "id": { "description": "ID", "type": "integer" }, "isFavorite": { "description": "是否收藏,true-收藏、false-取消收藏", "type": "boolean" } } }, "proto.FavoriteVideoResp": { "type": "object", "properties": { "id": { "description": "ID", "type": "integer" }, "isFavorite": { "description": "是否收藏,true-收藏、false-取消收藏", "type": "boolean" } } }, "proto.FooterBrand": { "type": "object", "properties": { "content": { "description": "品牌标语", "type": "string" }, "title": { "description": "品牌标题", "type": "string" } } }, "proto.FooterContact": { "type": "object", "properties": { "name": { "description": "联系方式名称", "type": "string" }, "value": { "description": "联系方式值", "type": "string" } } }, "proto.FooterInfo": { "type": "object", "properties": { "brand": { "description": "品牌信息", "allOf": [ { "$ref": "#/definitions/proto.FooterBrand" } ] }, "contactList": { "description": "联系方式", "type": "array", "items": { "$ref": "#/definitions/proto.FooterContact" } }, "navList": { "description": "底部导航", "type": "array", "items": { "$ref": "#/definitions/proto.TranslationCategory" } } } }, "proto.FooterInfoResp": { "type": "object", "properties": { "footerInfo": { "description": "底部信息", "allOf": [ { "$ref": "#/definitions/proto.FooterInfo" } ] } } }, "proto.HomeBannerInfo": { "type": "object", "properties": { "id": { "description": "ID", "type": "integer" }, "image": { "description": "图片,已拼接图片域名", "type": "string" }, "name": { "description": "名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "status": { "description": "状态 true-启用 false-停用", "type": "boolean" }, "url": { "description": "URL", "type": "string" }, "verticalImage": { "description": "竖版图片,已拼接图片域名", "type": "string" } } }, "proto.HomeBaseResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.HomeHtmlData": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "completePath": { "description": "请求路径", "type": "string" }, "config": { "description": "配置文件", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotSearch": { "description": "热搜", "type": "array", "items": { "$ref": "#/definitions/proto.HotSearchItem" } }, "path": { "type": "string" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.HomePlayletDataResp": { "type": "object", "properties": { "hotList": { "description": "最热短剧列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "newestList": { "description": "最新短剧列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "recommendList": { "description": "推荐短剧列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } } } }, "proto.HomeRankData": { "type": "object", "properties": { "month": { "description": "月榜", "type": "array", "items": { "$ref": "#/definitions/proto.ContentData" } }, "total": { "description": "总榜", "type": "array", "items": { "$ref": "#/definitions/proto.ContentData" } }, "week": { "description": "周榜", "type": "array", "items": { "$ref": "#/definitions/proto.ContentData" } }, "year": { "description": "年榜", "type": "array", "items": { "$ref": "#/definitions/proto.ContentData" } } } }, "proto.HomeTagsResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "playletTagsList": { "description": "短剧标签", "type": "array", "items": { "$ref": "#/definitions/proto.TagsInfoData" } }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "videoTagsList": { "description": "视频标签", "type": "array", "items": { "$ref": "#/definitions/proto.TagsInfoData" } } } }, "proto.HomeVideoDataResp": { "type": "object", "properties": { "hotList": { "description": "最热视频列表", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfo" } }, "newestList": { "description": "最新视频列表", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfo" } }, "recommendList": { "description": "推荐视频列表", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfo" } } } }, "proto.HotNavItem": { "type": "object", "properties": { "icon": { "description": "图标", "type": "string" }, "id": { "description": "ID", "type": "integer" }, "intro": { "description": "介绍", "type": "string" }, "title": { "description": "标题", "type": "string" }, "url": { "description": "链接", "type": "string" } } }, "proto.HotSearchItem": { "type": "object", "properties": { "hotValue": { "description": "热度值", "type": "integer" }, "id": { "description": "ID", "type": "integer" }, "title": { "description": "标题", "type": "string" } } }, "proto.LawAndTrustHtmlData": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "completePath": { "type": "string" }, "config": { "description": "配置文件", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotSearch": { "description": "热搜", "type": "array", "items": { "$ref": "#/definitions/proto.HotSearchItem" } }, "path": { "type": "string" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.LikePlayletReq": { "type": "object", "required": [ "id", "isLike" ], "properties": { "id": { "description": "ID", "type": "integer" }, "isLike": { "description": "是否点赞,true-点赞、false-取消点赞", "type": "boolean" } } }, "proto.LikePlayletResp": { "type": "object", "properties": { "id": { "description": "ID", "type": "integer" }, "isLike": { "description": "是否点赞,true-点赞、false-取消点赞", "type": "boolean" }, "likeNum": { "description": "点赞数(真实点赞数加后台虚拟点赞数)", "type": "integer" } } }, "proto.LikeVideoReq": { "type": "object", "required": [ "id", "isLike" ], "properties": { "id": { "description": "ID", "type": "integer" }, "isLike": { "description": "是否点赞,true-点赞、false-取消点赞", "type": "boolean" } } }, "proto.LikeVideoResp": { "type": "object", "properties": { "id": { "description": "ID", "type": "integer" }, "isLike": { "description": "是否点赞,true-点赞、false-取消点赞", "type": "boolean" }, "likeNum": { "description": "点赞数(真假点赞数之和)", "type": "integer" } } }, "proto.PlayletChapterInfo": { "type": "object", "properties": { "countBrowse": { "description": "浏览数", "type": "integer" }, "countCollect": { "description": "收藏数", "type": "integer" }, "countLike": { "description": "喜欢数", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "currentEpisode": { "description": "第几集", "type": "integer" }, "hash": { "description": "媒体hash", "type": "string" }, "height": { "description": "高", "type": "integer" }, "id": { "description": "剧集ID", "type": "integer" }, "md5": { "description": "媒体md5", "type": "string" }, "mediaContentId": { "description": "媒资中心章节ID", "type": "integer" }, "mediaSize": { "description": "资源大小", "type": "integer" }, "mediaTime": { "description": "影片长度(秒)", "type": "integer" }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletchaptermod.PayType" } ] }, "playletId": { "description": "短剧ID", "type": "integer" }, "ratio": { "description": "宽高比", "type": "number" }, "singleCoins": { "description": "单集金币", "type": "integer" }, "title": { "description": "章节名", "type": "string" }, "updatedAt": { "description": "修改时间", "type": "string" }, "videoUrl": { "description": "视频播放地址,优先返回水印地址", "type": "string" }, "watermarkStatus": { "description": "水印状态 0-未处理 1-已登记 2-处理中 3-已完成", "allOf": [ { "$ref": "#/definitions/playletchaptermod.WatermarkStatus" } ] }, "width": { "description": "宽", "type": "integer" } } }, "proto.PlayletData": { "type": "object", "properties": { "anchor": { "description": "作者或演员", "type": "string" }, "contentType": { "description": "内容类型 0-短剧 1-普通短剧影集 2-漫画短剧 3-动漫 4-漫画", "allOf": [ { "$ref": "#/definitions/playletmod.ContentType" } ] }, "countBrowse": { "description": "累计点击量", "type": "integer" }, "countCollect": { "description": "收藏数", "type": "integer" }, "countLike": { "description": "真实点赞数", "type": "integer" }, "cover": { "description": "封面,已拼接图片域名", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "简介", "type": "string" }, "displayCountLike": { "description": "展示点赞数,真实点赞数加后台虚拟点赞数", "type": "integer" }, "heatValue": { "description": "热度值", "type": "integer" }, "id": { "description": "短剧id", "type": "integer" }, "isNew": { "description": "是否上新 本周内上架为true", "type": "boolean" }, "isRecommend": { "description": "是否推荐 true-推荐 false-不推荐", "type": "boolean" }, "mediaCreatedAt": { "description": "媒资中心创建时间", "type": "string" }, "mediaUpdatedAt": { "description": "媒资中心更新时间", "type": "string" }, "onlineAt": { "description": "上架时间", "type": "string" }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletmod.PayType" } ] }, "preview": { "description": "预告,已拼接图片域名", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "singleCoins": { "description": "单集金币,支付方式为金币时生效", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "status": { "description": "状态 0-下架 1-上架", "allOf": [ { "$ref": "#/definitions/playletmod.Status" } ] }, "tagIds": { "description": "标签ID集合", "type": "array", "items": { "type": "integer" } }, "tagNames": { "description": "标签名称集合", "type": "array", "items": { "type": "string" } }, "themeIds": { "description": "题材ID集合", "type": "array", "items": { "type": "integer" } }, "themeNames": { "description": "题材名称集合", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "totalEpisode": { "description": "总集数", "type": "integer" }, "updateStatus": { "description": "更新状态 1-连载中 2-已完结", "type": "integer" }, "updatedAt": { "description": "修改时间", "type": "string" }, "virtualCountLike": { "description": "后台虚拟点赞数", "type": "integer" } } }, "proto.PlayletDetailInfo": { "type": "object", "properties": { "anchor": { "description": "作者或演员", "type": "string" }, "contentType": { "description": "内容类型 0-短剧 1-普通短剧影集 2-漫画短剧 3-动漫 4-漫画", "allOf": [ { "$ref": "#/definitions/playletmod.ContentType" } ] }, "countBrowse": { "description": "累计点击量", "type": "integer" }, "countCollect": { "description": "收藏数", "type": "integer" }, "countComment": { "description": "评论数量", "type": "integer" }, "countLike": { "description": "真实点赞数", "type": "integer" }, "cover": { "description": "封面,已拼接图片域名", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "简介", "type": "string" }, "displayCountLike": { "description": "展示点赞数,真实点赞数加后台虚拟点赞数", "type": "integer" }, "heatValue": { "description": "热度值", "type": "integer" }, "id": { "description": "短剧id", "type": "integer" }, "isLike": { "description": "当前登录用户是否已点赞该短剧", "type": "boolean" }, "isNew": { "description": "是否上新 本周内上架为true", "type": "boolean" }, "isRecommend": { "description": "是否推荐 true-推荐 false-不推荐", "type": "boolean" }, "mediaCreatedAt": { "description": "媒资中心创建时间", "type": "string" }, "mediaUpdatedAt": { "description": "媒资中心更新时间", "type": "string" }, "onlineAt": { "description": "上架时间", "type": "string" }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletmod.PayType" } ] }, "preview": { "description": "预告,已拼接图片域名", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "singleCoins": { "description": "单集金币,支付方式为金币时生效", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "status": { "description": "状态 0-下架 1-上架", "allOf": [ { "$ref": "#/definitions/playletmod.Status" } ] }, "tagIds": { "description": "标签ID集合", "type": "array", "items": { "type": "integer" } }, "tagNames": { "description": "标签名称集合", "type": "array", "items": { "type": "string" } }, "themeIds": { "description": "题材ID集合", "type": "array", "items": { "type": "integer" } }, "themeNames": { "description": "题材名称集合", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "totalEpisode": { "description": "总集数", "type": "integer" }, "updateStatus": { "description": "更新状态 1-连载中 2-已完结", "type": "integer" }, "updatedAt": { "description": "修改时间", "type": "string" }, "virtualCountLike": { "description": "后台虚拟点赞数", "type": "integer" } } }, "proto.PlayletRankData": { "type": "object", "properties": { "anchor": { "description": "作者或演员", "type": "string" }, "contentType": { "description": "内容类型 0-短剧 1-普通短剧影集 2-漫画短剧 3-动漫 4-漫画", "allOf": [ { "$ref": "#/definitions/playletmod.ContentType" } ] }, "countBrowse": { "description": "累计点击量", "type": "integer" }, "countCollect": { "description": "收藏数", "type": "integer" }, "countLike": { "description": "真实点赞数", "type": "integer" }, "cover": { "description": "封面,已拼接图片域名", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "简介", "type": "string" }, "displayCountLike": { "description": "展示点赞数,真实点赞数加后台虚拟点赞数", "type": "integer" }, "heatValue": { "description": "热度值", "type": "integer" }, "id": { "description": "短剧id", "type": "integer" }, "isNew": { "description": "是否上新 本周内上架为true", "type": "boolean" }, "isRecommend": { "description": "是否推荐 true-推荐 false-不推荐", "type": "boolean" }, "mediaCreatedAt": { "description": "媒资中心创建时间", "type": "string" }, "mediaUpdatedAt": { "description": "媒资中心更新时间", "type": "string" }, "onlineAt": { "description": "上架时间", "type": "string" }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletmod.PayType" } ] }, "preview": { "description": "预告,已拼接图片域名", "type": "string" }, "rankScore": { "description": "榜单分数,点赞榜为累计展示点赞数,周/月/年榜为对应周期观看数", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "singleCoins": { "description": "单集金币,支付方式为金币时生效", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "status": { "description": "状态 0-下架 1-上架", "allOf": [ { "$ref": "#/definitions/playletmod.Status" } ] }, "tagIds": { "description": "标签ID集合", "type": "array", "items": { "type": "integer" } }, "tagNames": { "description": "标签名称集合", "type": "array", "items": { "type": "string" } }, "themeIds": { "description": "题材ID集合", "type": "array", "items": { "type": "integer" } }, "themeNames": { "description": "题材名称集合", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "totalEpisode": { "description": "总集数", "type": "integer" }, "updateStatus": { "description": "更新状态 1-连载中 2-已完结", "type": "integer" }, "updatedAt": { "description": "修改时间", "type": "string" }, "virtualCountLike": { "description": "后台虚拟点赞数", "type": "integer" } } }, "proto.PlayletRankResp": { "type": "object", "properties": { "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.PlayletRecommendItemType": { "type": "integer", "enum": [ 0, 2 ], "x-enum-comments": { "PlayletRecommendItemTypeAdvertise": "广告数据", "PlayletRecommendItemTypePlaylet": "短剧数据" }, "x-enum-varnames": [ "PlayletRecommendItemTypePlaylet", "PlayletRecommendItemTypeAdvertise" ] }, "proto.PlayletRecommendListItem": { "type": "object", "properties": { "advertiseId": { "description": "广告ID,type=2时返回", "type": "string" }, "anchor": { "description": "作者或演员", "type": "string" }, "contentType": { "description": "内容类型 0-短剧 1-普通短剧影集 2-漫画短剧 3-动漫 4-漫画", "allOf": [ { "$ref": "#/definitions/playletmod.ContentType" } ] }, "countBrowse": { "description": "累计点击量", "type": "integer" }, "countCollect": { "description": "收藏数", "type": "integer" }, "countLike": { "description": "真实点赞数", "type": "integer" }, "cover": { "description": "封面,已拼接图片域名", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "简介", "type": "string" }, "displayCountLike": { "description": "展示点赞数,真实点赞数加后台虚拟点赞数", "type": "integer" }, "heatValue": { "description": "热度值", "type": "integer" }, "id": { "description": "短剧id", "type": "integer" }, "isNew": { "description": "是否上新 本周内上架为true", "type": "boolean" }, "isRecommend": { "description": "是否推荐 true-推荐 false-不推荐", "type": "boolean" }, "link": { "description": "广告跳转链接,type=2时返回", "type": "string" }, "location": { "description": "广告位置ID,type=2时返回", "type": "integer" }, "mediaCreatedAt": { "description": "媒资中心创建时间", "type": "string" }, "mediaUpdatedAt": { "description": "媒资中心更新时间", "type": "string" }, "onlineAt": { "description": "上架时间", "type": "string" }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletmod.PayType" } ] }, "preview": { "description": "预告,已拼接图片域名", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "singleCoins": { "description": "单集金币,支付方式为金币时生效", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "status": { "description": "状态 0-下架 1-上架", "allOf": [ { "$ref": "#/definitions/playletmod.Status" } ] }, "tagIds": { "description": "标签ID集合", "type": "array", "items": { "type": "integer" } }, "tagNames": { "description": "标签名称集合", "type": "array", "items": { "type": "string" } }, "themeIds": { "description": "题材ID集合", "type": "array", "items": { "type": "integer" } }, "themeNames": { "description": "题材名称集合", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "totalEpisode": { "description": "总集数", "type": "integer" }, "type": { "description": "数据类型 0-短剧数据 2-广告", "allOf": [ { "$ref": "#/definitions/proto.PlayletRecommendItemType" } ] }, "updateStatus": { "description": "更新状态 1-连载中 2-已完结", "type": "integer" }, "updatedAt": { "description": "修改时间", "type": "string" }, "virtualCountLike": { "description": "后台虚拟点赞数", "type": "integer" } } }, "proto.PlayletRecommendListResp": { "type": "object", "properties": { "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" } } }, "proto.PostCreateInfo": { "type": "object", "properties": { "background": { "description": "背景", "type": "string" }, "createType": { "description": "创作者类型 0=普通 1=官方", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "作者描述", "type": "string" }, "id": { "type": "integer" }, "image": { "description": "头像", "type": "string" }, "name": { "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "works": { "type": "integer" } } }, "proto.QueryActressListResp": { "type": "object", "properties": { "actressInfoList": { "description": "女优列表", "type": "array", "items": { "$ref": "#/definitions/proto.ActressInfoData" } }, "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "path": { "description": "当前路径", "type": "string" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QueryActressWorkListResp": { "type": "object", "properties": { "actressInfo": { "description": "女优信息", "allOf": [ { "$ref": "#/definitions/proto.ActressInfoData" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QueryFavoriteVideoListResp": { "type": "object", "properties": { "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QueryPlayletChapterInfoResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "chapterInfo": { "description": "当前剧集详情", "allOf": [ { "$ref": "#/definitions/proto.PlayletChapterInfo" } ] }, "chapterList": { "description": "剧集列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletChapterInfo" } }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotPlayletList": { "description": "热门短剧列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "isLike": { "description": "当前登录用户是否已点赞该短剧", "type": "boolean" }, "path": { "description": "当前路径", "type": "string" }, "playletInfo": { "description": "所属短剧详情", "allOf": [ { "$ref": "#/definitions/proto.PlayletData" } ] }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QueryPlayletInfoResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "chapterList": { "description": "剧集列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletChapterInfo" } }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotPlayletList": { "description": "热门短剧列表", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "isLike": { "description": "当前登录用户是否已点赞该短剧", "type": "boolean" }, "path": { "description": "当前路径", "type": "string" }, "playletInfo": { "description": "短剧详情数据", "allOf": [ { "$ref": "#/definitions/proto.PlayletDetailInfo" } ] }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QueryVideoInfoResp": { "type": "object", "properties": { "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "announcement": { "description": "公告", "allOf": [ { "$ref": "#/definitions/proto.AnnouncementInfo" } ] }, "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "config": { "description": "配置信息", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotVideoList": { "description": "热门视频列表", "type": "array", "items": { "$ref": "#/definitions/proto.VideoData" } }, "isFavorite": { "description": "当前登录用户是否已收藏该视频", "type": "boolean" }, "isLike": { "description": "当前登录用户是否已点赞该视频", "type": "boolean" }, "path": { "description": "当前路径", "type": "string" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "videoInfo": { "description": "视频详情数据", "allOf": [ { "$ref": "#/definitions/proto.VideoDetailInfo" } ] } } }, "proto.QueryVideoItemType": { "type": "integer", "enum": [ 0, 2 ], "x-enum-varnames": [ "QueryVideoItemTypeVideo", "QueryVideoItemTypeAdvertise" ] }, "proto.QueryVideoListItem": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "advertiseId": { "description": "广告ID,type=2时返回", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "link": { "description": "广告跳转链接,type=2时返回", "type": "string" }, "location": { "description": "广告位置ID,type=2时返回", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "type": { "description": "数据类型:0-视频数据、2-广告", "allOf": [ { "$ref": "#/definitions/proto.QueryVideoItemType" } ] }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.QueryVideoResp": { "type": "object", "properties": { "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "categoryInfo": { "description": "当前分类信息(含 SEO)", "allOf": [ { "$ref": "#/definitions/proto.VideoCategoryInfo" } ] }, "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.QuestionnaireSubmitReq": { "type": "object", "required": [ "description", "deviceType", "frequency", "networkType", "operator", "province", "questionType" ], "properties": { "attachments": { "description": "附件列表,最多3个(选填)", "type": "array", "items": { "$ref": "#/definitions/questionnairemod.Attachment" } }, "city": { "description": "所在城市(选填)", "type": "string" }, "contact": { "description": "联系方式(选填)", "type": "string" }, "description": { "description": "问题描述(必填)", "type": "string" }, "deviceModel": { "description": "设备型号(选填)", "type": "string" }, "deviceType": { "description": "设备类型:iPhone、Android、iPad、其他", "type": "string" }, "frequency": { "description": "出现频率:每次都会、经常出现、偶尔出现、仅现一次", "type": "string" }, "networkType": { "description": "网络类型:WI-FI、5G、4G、其他", "type": "string" }, "operator": { "description": "运营商:电信、联通、移动、广电", "type": "string" }, "province": { "description": "所在省份(必填)", "type": "string" }, "questionType": { "description": "问题类型:播放卡顿/缓冲、无法播放、画质模糊、音画不同步、加载失败、闪退/崩溃、登录异常、其他问题", "type": "string" }, "userId": { "description": "登录用户ID,0表示匿名(选填)", "type": "integer" } } }, "proto.RankResp": { "type": "object", "properties": { "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "rankData": { "$ref": "#/definitions/proto.HomeRankData" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.RichTextInfo": { "type": "object", "properties": { "content": { "description": "内容", "type": "string" }, "desc": { "description": "标题(app)", "type": "string" }, "id": { "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "title": { "description": "标题", "type": "string" } } }, "proto.SearchResp": { "type": "object", "properties": { "actress": { "description": "女优资源", "type": "array", "items": { "$ref": "#/definitions/proto.ActressInfoData" } }, "advitise": { "description": "广告", "allOf": [ { "$ref": "#/definitions/proto.AdvitiseData" } ] }, "bottonTranslations": { "description": "底部导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "completePath": { "type": "string" }, "config": { "description": "配置文件", "allOf": [ { "$ref": "#/definitions/proto.ConfigInfo" } ] }, "hotSearch": { "description": "热搜", "type": "array", "items": { "$ref": "#/definitions/proto.HotSearchItem" } }, "inTitle": { "description": "输入标题", "type": "string" }, "inType": { "description": "输入类型 -1=全部 0=视频 1=女优 3=AV 6=短剧", "type": "integer" }, "media": { "description": "视频资源", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfoData" } }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "path": { "type": "string" }, "playlets": { "description": "短剧资源", "type": "array", "items": { "$ref": "#/definitions/proto.PlayletData" } }, "searchRecommend": { "description": "搜索推荐", "type": "array", "items": { "type": "string" } }, "sorts": { "description": "排序选项", "type": "array", "items": { "$ref": "#/definitions/proto.SearchSortItem" } }, "totalSize": { "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.SearchSortItem": { "type": "object", "properties": { "key": { "description": "值", "type": "string" }, "title": { "description": "标题", "type": "string" } } }, "proto.TagsInfoData": { "type": "object", "properties": { "id": { "type": "integer" }, "images": { "description": "背景", "type": "string" }, "name": { "description": "帖子标题", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "works": { "description": "作品数量", "type": "integer" } } }, "proto.TranslationCategory": { "type": "object", "properties": { "categoryType": { "description": "导航类型", "allOf": [ { "$ref": "#/definitions/pubdef.TranslationType" } ] }, "icon": { "description": "Icon", "type": "string" }, "id": { "type": "integer" }, "name": { "description": "名称", "type": "string" }, "translationList": { "type": "array", "items": { "$ref": "#/definitions/proto.TranslationInfo" } }, "urlValue": { "description": "URl路径", "type": "string" } } }, "proto.TranslationInfo": { "type": "object", "properties": { "displayMode": { "description": "展示方式", "allOf": [ { "$ref": "#/definitions/pubdef.DisplayMode" } ] }, "id": { "description": "ID", "type": "integer" }, "isFriendAds": { "description": "是否是友链广告位", "type": "boolean" }, "name": { "description": "名称", "type": "string" }, "urlValue": { "description": "URl路径", "type": "string" } } }, "proto.VideoCategoryInfo": { "type": "object", "properties": { "desc": { "description": "描述", "type": "string" }, "id": { "type": "integer" }, "name": { "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "title": { "description": "APP显示", "type": "string" } } }, "proto.VideoData": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.VideoDetailInfo": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "desc": { "description": "作品简介", "type": "string" }, "id": { "description": "id", "type": "integer" }, "isFavorite": { "description": "当前登录用户是否已收藏该视频", "type": "boolean" }, "isLike": { "description": "当前登录用户是否已点赞该视频", "type": "boolean" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签", "type": "array", "items": { "$ref": "#/definitions/proto.TagsInfoData" } }, "title": { "description": "标题", "type": "string" }, "video": { "description": "视频播放信息", "allOf": [ { "$ref": "#/definitions/videoinformationmod.VideoInfo" } ] }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.VideoInfo": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.VideoInfoData": { "type": "object", "properties": { "actressInfo": { "description": "女优信息", "type": "array", "items": { "$ref": "#/definitions/proto.ActressInfoData" } }, "addedTime": { "description": "帖子上架时间", "type": "string" }, "advitiseId": { "description": "广告Id", "type": "string" }, "bango": { "description": "番号,唯一", "type": "string" }, "collectionInfo": { "description": "合集数据", "type": "array", "items": { "$ref": "#/definitions/proto.VideoInfoData" } }, "coverImg": { "description": "封面", "type": "string" }, "createInfo": { "description": "作者信息", "allOf": [ { "$ref": "#/definitions/proto.PostCreateInfo" } ] }, "desc": { "description": "详细描述", "type": "string" }, "id": { "type": "integer" }, "isHot": { "description": "是否热门", "type": "boolean" }, "issuedAt": { "description": "发行时间", "type": "string" }, "issuedBrand": { "description": "发行商", "type": "string" }, "keyworld": { "description": "关键字", "type": "array", "items": { "type": "string" } }, "link": { "description": "跳转链接", "type": "string" }, "location": { "description": "广告位置id", "type": "integer" }, "previewVtt": { "description": "雪碧图 vtt", "type": "string" }, "showTimes": { "description": "展示次数", "type": "integer" }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签", "type": "array", "items": { "$ref": "#/definitions/proto.TagsInfoData" } }, "title": { "description": "帖子标题", "type": "string" }, "type": { "description": "类型", "allOf": [ { "$ref": "#/definitions/proto.VideoType" } ] }, "updatedAt": { "description": "页面更新时间", "type": "string" }, "video": { "description": "Nodes []videoinformationmod.Node `json:\"nodes\"` // 节点", "allOf": [ { "$ref": "#/definitions/videoinformationmod.VideoInfo" } ] }, "watchTimes": { "description": "观看次数", "type": "integer" } } }, "proto.VideoRankResp": { "type": "object", "properties": { "bottonTranslations": { "description": "底部翻译", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] }, "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" }, "translations": { "description": "导航", "allOf": [ { "$ref": "#/definitions/proto.AppTranslationInfo" } ] } } }, "proto.VideoRecommendItemType": { "type": "integer", "enum": [ 0, 2 ], "x-enum-comments": { "VideoRecommendItemTypeAdvertise": "广告数据", "VideoRecommendItemTypeVideo": "视频数据" }, "x-enum-varnames": [ "VideoRecommendItemTypeVideo", "VideoRecommendItemTypeAdvertise" ] }, "proto.VideoRecommendListItem": { "type": "object", "properties": { "addedTime": { "description": "上架时间", "type": "string" }, "advertiseId": { "description": "广告ID,type=2时返回", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "id": { "description": "id", "type": "integer" }, "likeNum": { "description": "点赞(收藏)数(真假点赞(收藏)数之和)", "type": "integer" }, "link": { "description": "广告跳转链接,type=2时返回", "type": "string" }, "location": { "description": "广告位置ID,type=2时返回", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "slug": { "description": "slug", "type": "string" }, "tags": { "description": "标签id", "type": "array", "items": { "type": "integer" } }, "tagsName": { "description": "标签名称", "type": "array", "items": { "type": "string" } }, "title": { "description": "标题", "type": "string" }, "type": { "description": "数据类型 0-视频数据 2-广告", "allOf": [ { "$ref": "#/definitions/proto.VideoRecommendItemType" } ] }, "watchNum": { "description": "观看数(真假观看数之和)", "type": "integer" } } }, "proto.VideoRecommendListResp": { "type": "object", "properties": { "list": { "description": "当前页数据" }, "pageNum": { "description": "当前页码", "type": "integer" }, "pageSize": { "description": "每页数量", "type": "integer" }, "totalCount": { "description": "总数量", "type": "integer" } } }, "proto.VideoType": { "type": "integer", "enum": [ 0, 1, 2, 3 ], "x-enum-comments": { "VideoTypeAdvitise": "广告", "VideoTypeCollection": "合集", "VideoTypeVideo": "视频", "VideoType_AV": "AV视频" }, "x-enum-varnames": [ "VideoTypeVideo", "VideoTypeCollection", "VideoTypeAdvitise", "VideoType_AV" ] }, "proxy.AdvitiseInfo": { "type": "object", "properties": { "id": { "description": "广告id", "type": "string" }, "images": { "description": "视频banner", "type": "string" }, "link": { "description": "链接", "type": "string" }, "location": { "description": "位置id", "type": "integer" }, "title": { "description": "广告标题", "type": "string" } } }, "pubdef.CommentObjectType": { "type": "integer", "enum": [ 0, 4 ], "x-enum-comments": { "CommentObjectTypePlaylet": "短剧", "CommentObjectTypeVideo": "视频" }, "x-enum-varnames": [ "CommentObjectTypeVideo", "CommentObjectTypePlaylet" ] }, "pubdef.DisplayMode": { "type": "integer", "enum": [ 0, 1, 2, 3, 4 ], "x-enum-comments": { "DisplayModeAvatarList": "头像列表", "DisplayModeBigCover": "大封面列表(一大图两列)", "DisplayModeCardCarousel": "卡片层叠轮播", "DisplayModeDefault": "默认(上图下标题多列)", "DisplayModeImageText": "图文列表(左图右标题多列)" }, "x-enum-varnames": [ "DisplayModeDefault", "DisplayModeCardCarousel", "DisplayModeAvatarList", "DisplayModeImageText", "DisplayModeBigCover" ] }, "pubdef.LoginType": { "type": "integer", "enum": [ 0, 1, 2, 3 ], "x-enum-comments": { "LoginTypeAccount": "账号登陆", "LoginTypeDevice": "设备登陆", "LoginTypeMobile": "手机登陆", "LoginTypeQrCode": "二维码登陆" }, "x-enum-varnames": [ "LoginTypeDevice", "LoginTypeMobile", "LoginTypeQrCode", "LoginTypeAccount" ] }, "pubdef.SeoValue": { "type": "object", "properties": { "description": { "description": "网站SEO描述", "type": "string" }, "keyworld": { "description": "网站SEO关键字", "type": "array", "items": { "type": "string" } }, "title": { "description": "网站SEO标题", "type": "string" } } }, "pubdef.TranslationType": { "type": "integer", "enum": [ 1, 2, 3 ], "x-enum-comments": { "TranslationTypeBottom": "底部导航", "TranslationTypeSub": "二级导航", "TranslationTypeUrl": "URL模式" }, "x-enum-varnames": [ "TranslationTypeUrl", "TranslationTypeSub", "TranslationTypeBottom" ] }, "pubdef.UserStatus": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "UserStatusDisable": "封禁", "UserStatusNormal": "正常", "UserStatusSlient": "禁言" }, "x-enum-varnames": [ "UserStatusNormal", "UserStatusDisable", "UserStatusSlient" ] }, "questionnairemod.Attachment": { "type": "object", "properties": { "fileType": { "description": "附件类型(img / video)", "type": "string" }, "url": { "description": "附件URL地址", "type": "string" } } }, "uploadser.ImageUploadData": { "type": "object", "properties": { "id": { "type": "string" }, "sourceNameFs": { "type": "string" } } }, "uploadser.ImageUploadResp": { "type": "object", "properties": { "code": { "type": "integer" }, "data": { "$ref": "#/definitions/uploadser.ImageUploadData" }, "hash": { "type": "boolean" }, "msg": { "type": "string" }, "time": { "type": "string" }, "tip": { "type": "string" } } }, "uploadser.VideoBodyData": { "type": "object", "properties": { "id": { "type": "string" }, "sourceNameFs": { "type": "string" }, "taskId": { "type": "string" } } }, "uploadser.VideoBodyResp": { "type": "object", "properties": { "code": { "type": "integer" }, "data": { "$ref": "#/definitions/uploadser.VideoBodyData" }, "hash": { "type": "boolean" }, "msg": { "type": "string" }, "time": { "type": "string" }, "tip": { "type": "string" } } }, "uploadser.VideoOkResp": { "type": "object", "properties": { "code": { "type": "integer" }, "msg": { "type": "string" }, "tip": { "type": "string" } } }, "videoinformationmod.VideoInfo": { "type": "object", "properties": { "cover": { "description": "视频封面", "type": "string" }, "fileId": { "description": "媒资库ID", "type": "string" }, "h265Url": { "description": "H.265 m3u8 播放地址,空字符串表示暂无该编码源", "type": "string" }, "height": { "description": "分辨率高(视频才会存在)", "type": "integer" }, "preMp4FileNameFs": { "description": "预览MP4文件", "type": "string" }, "taskId": { "description": "视频ID(视频才会存在)", "type": "string" }, "unencryptedPreMp4": { "description": "不加密的预览MP4", "type": "string" }, "url": { "description": "H.264 m3u8 播放地址(始终存在)", "type": "string" }, "videoTime": { "description": "影片长度", "type": "integer" }, "width": { "description": "分辨率宽(视频才会存在)", "type": "integer" } } } }, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "Authorization", "in": "header" }, "BasicAuth": { "type": "basic" }, "OAuth2AccessCode": { "type": "oauth2", "flow": "accessCode", "authorizationUrl": "https://example.com/oauth/authorize", "tokenUrl": "https://example.com/oauth/token", "scopes": { "admin": "Grants read and write access to administrative information" } }, "OAuth2Application": { "type": "oauth2", "flow": "application", "tokenUrl": "https://example.com/oauth/token", "scopes": { "admin": "Grants read and write access to administrative information", "write": "Grants write access" } }, "OAuth2Implicit": { "type": "oauth2", "flow": "implicit", "authorizationUrl": "https://example.com/oauth/authorize", "scopes": { "admin": "Grants read and write access to administrative information", "write": "Grants write access" } }, "OAuth2Password": { "type": "oauth2", "flow": "password", "tokenUrl": "https://example.com/oauth/token", "scopes": { "admin": "Grants read and write access to administrative information", "read": "Grants read access", "write": "Grants write access" } } } }