{ "schemes": [ "http", "https" ], "swagger": "2.0", "info": { "description": "这是站群后台接口服务.", "title": "站群后台接口", "contact": {}, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, "version": "1.0" }, "host": "localhost:12667", "basePath": "/", "paths": { "/api/web/acc/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-添加", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-添加", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccAddResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-删除", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-删除", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccDelResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/getinfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-获取信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-获取信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccGetInfoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccGetInfoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/getstatus": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-获取状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-获取状态", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccGetStatusReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccGetStatusResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-列表", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccListResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/ops": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-获取操作记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-获取操作记录", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.AccOpLogReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.AccOpLogResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/savestatus": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-保存状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-保存状态", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccSaveStatusReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccSaveStatusResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/up": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-更新", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-更新", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccUpReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccUpResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/acc/uppwd": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "账号-更新密码", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "账号" ], "summary": "账号-更新密码", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwAccUpPwdReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwAccUpPwdReq" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/card/order/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询充值订单,支持按 OrderType 筛选:1会员 2金币;不传 orderType 则返回全部类型", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员卡管理" ], "summary": "查询充值订单列表", "parameters": [ { "description": "查询参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_viporder.VipOrderReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_viporder.VipOrderResp" } }, "400": { "description": "参数错误", "schema": { "type": "string" } } } } }, "/api/web/coin/trans": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询金币收支流水,支持按用户、收支方向、交易类型、时间范围筛选", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "金币管理" ], "summary": "查询金币交易记录", "parameters": [ { "description": "查询参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_cointrans.CoinTransReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_cointrans.CoinTransResp" } }, "400": { "description": "参数错误", "schema": { "type": "string" } } } } }, "/api/web/contactus/handle": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "批量更新联系我们处理状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web联系我们相关接口" ], "summary": "web端处理联系我们 -- by 旺鸣", "parameters": [ { "description": "web端联系我们处理请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.ContactUsHandleReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.ContactUsHandleResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/contactus/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询联系我们列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web联系我们相关接口" ], "summary": "web端联系我们列表 -- by 旺鸣", "parameters": [ { "type": "string", "description": "创建结束时间,格式:2026-06-09 00:00:00", "name": "createEndTime", "in": "query" }, { "type": "string", "description": "创建开始时间,格式:2026-06-08 00:00:00", "name": "createStartTime", "in": "query" }, { "type": "string", "description": "邮箱", "name": "email", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "处理状态,0-待处理、1-已处理", "name": "status", "in": "query" }, { "type": "integer", "description": "问题类型,1-订单问题、2-账号问题、3-功能问题、4-体验问题、5-其他", "name": "type", "in": "query" }, { "type": "integer", "description": "用户ID", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.ContactUsListPageResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.ContactUsListResp" } } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/detailnav/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "详情页导航配置-增加", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "详情页导航配置" ], "summary": "详情页导航配置-增加", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_detailnav.AddDetailNavReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/detailnav/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "详情页导航配置-删除", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "详情页导航配置" ], "summary": "详情页导航配置-删除", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_detailnav.DelDetailNavReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/detailnav/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "详情页导航配置-列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "详情页导航配置" ], "summary": "详情页导航配置-列表", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_detailnav.GetDetailNavListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_detailnav.GetDetailNavListResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/detailnav/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "详情页导航配置-更新", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "详情页导航配置" ], "summary": "详情页导航配置-更新", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_detailnav.UpdateDetailNavReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/feedback/handle": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "批量更新意见反馈处理状态", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web意见反馈相关接口" ], "summary": "web端处理意见反馈 -- by 旺鸣", "parameters": [ { "description": "web端意见反馈处理请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.FeedbackHandleReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.FeedbackHandleResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/feedback/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询用户意见反馈列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web意见反馈相关接口" ], "summary": "web端意见反馈列表 -- by 旺鸣", "parameters": [ { "type": "string", "description": "创建结束时间,格式:2026-06-09 00:00:00", "name": "createEndTime", "in": "query" }, { "type": "string", "description": "创建开始时间,格式:2026-06-08 00:00:00", "name": "createStartTime", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "处理状态,0-待处理、1-已处理", "name": "status", "in": "query" }, { "type": "integer", "description": "问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他", "name": "type", "in": "query" }, { "type": "integer", "description": "用户ID", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/proto.FeedbackListPageResp" }, { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.FeedbackListResp" } } } } ] } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/file/uploadImg": { "post": { "description": "图片上传", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文件上传" ], "summary": "图片上传", "parameters": [ { "type": "file", "description": "文件", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_file.UploadImageResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/file/uploadImgs": { "post": { "description": "图片批量上传", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文件上传" ], "summary": "图片批量上传", "parameters": [ { "type": "file", "description": "文件", "name": "file[]", "in": "formData", "required": true } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_file.UploadImagesResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/ipblack/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "IP黑名单-增加", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "IP黑名单" ], "summary": "IP黑名单-增加", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_ipblack.AddIPBlackListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/ipblack/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "IP黑名单-删除", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "IP黑名单" ], "summary": "IP黑名单-删除", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_ipblack.DelIpBlackListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/ipblack/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "IP黑名单-列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "IP黑名单" ], "summary": "IP黑名单-列表", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_ipblack.GetIPBlackListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_ipblack.GetIPBlackListResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/login/acc": { "post": { "description": "登录-登录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "登录-登录", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MainWebLoginReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MainWebLoginResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/login/bind": { "post": { "description": "登录-绑定二维码", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "登录-绑定二维码", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.BindQurlReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.BindQurlResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/login/slogin": { "post": { "description": "管理员sso登陆", "consumes": [ "multipart/form-data", "application/json" ], "produces": [ "application/json", "text/html" ], "tags": [ "web-单点登陆" ], "summary": "管理员sso登陆", "parameters": [ { "type": "string", "description": "账号", "name": "name", "in": "formData", "required": true }, { "type": "string", "description": "密码", "name": "password", "in": "formData", "required": true } ], "responses": { "200": { "description": "{\"msg\": \"管理员信息\"\"}", "schema": { "type": "string" } }, "400": { "description": "{\"msg\": \"操作失败\"}", "schema": { "type": "string" } } } } }, "/api/web/playlet/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端新增短剧", "parameters": [ { "description": "新增短剧请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletAddResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/banner/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 showOnBanner 字段,传1个ID表示单条设置,传多个ID表示批量设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧是否显示在首页banner --by 王鸣", "parameters": [ { "description": "单/批量设置短剧是否显示在首页banner请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletBannerSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/chapter/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端新增章节", "parameters": [ { "description": "新增章节请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletChapterAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletChapterAddResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/chapter/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端章节列表", "parameters": [ { "type": "integer", "name": "id", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "integer", "name": "playletId", "in": "query" }, { "enum": [ 0, 1, 2, 3 ], "type": "integer", "x-enum-comments": { "WatermarkStatusDone": "已完成", "WatermarkStatusPending": "未处理(待 mediafile/sync)", "WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)", "WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)" }, "x-enum-varnames": [ "WatermarkStatusPending", "WatermarkStatusRegistered", "WatermarkStatusProcessing", "WatermarkStatusDone" ], "name": "watermarkStatus", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletChapterListPageResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/chapter/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据章节ID集合删除 playlet_chapter 记录,传1个ID表示单条删除,传多个ID表示批量删除;同时清理该剧集的点赞、收藏、解锁记录", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量删除章节", "parameters": [ { "description": "单/批量删除章节请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletChapterDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/chapter/pay-type/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据章节ID集合批量更新 playlet_chapter 集合 payType 字段,传1个ID表示单条设置,传多个ID表示批量设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置章节支付方式 --by 王鸣", "parameters": [ { "description": "单/批量设置章节支付方式请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletChapterPayTypeSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/chapter/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端更新章节", "parameters": [ { "description": "更新章节请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletChapterUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/featured/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 isFeatured 字段,传1个ID表示单条设置,传多个ID表示批量设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧是否爆剧 --by 王鸣", "parameters": [ { "description": "单/批量设置短剧是否爆剧请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletFeaturedSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询短剧列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端短剧列表", "parameters": [ { "enum": [ 0, 1 ], "type": "integer", "x-enum-comments": { "ContentTypeAlbum": "影集", "ContentTypeTheater": "短剧" }, "x-enum-varnames": [ "ContentTypeTheater", "ContentTypeAlbum" ], "name": "contentType", "in": "query" }, { "type": "integer", "name": "id", "in": "query" }, { "type": "boolean", "description": "是否爆剧(true-是,false-否)", "name": "isFeatured", "in": "query" }, { "type": "boolean", "name": "isRecommend", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "boolean", "name": "showOnBanner", "in": "query" }, { "enum": [ 0, 1 ], "type": "integer", "x-enum-comments": { "StatusDown": "下架", "StatusUp": "上架" }, "x-enum-varnames": [ "StatusDown", "StatusUp" ], "name": "status", "in": "query" }, { "type": "integer", "name": "themeId", "in": "query" }, { "type": "string", "name": "title", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletListPageResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/recommend/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 isRecommend 字段,传1个ID表示单条设置,传多个ID表示批量设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧是否推荐 --by 王鸣", "parameters": [ { "description": "单/批量设置短剧是否推荐请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletRecommendSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/status/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 status 字段,传1个ID表示单条设置,传多个ID表示批量设置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧上下架 --by 王鸣", "parameters": [ { "description": "单/批量设置短剧上下架请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletStatusSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/tag/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端新增标签", "parameters": [ { "description": "新增标签请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletTagAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletTagAddResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/tag/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端删除标签", "parameters": [ { "description": "删除标签请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletTagDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/tag/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询短剧标签", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端标签列表", "parameters": [ { "type": "integer", "name": "id", "in": "query" }, { "type": "string", "name": "name", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "boolean", "name": "status", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletTagListPageResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/tag/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 tagIds 字段,传1个ID表示单条设置,传多个ID表示批量设置;tagIds 可设置多个标签,传空数组表示清空标签", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧标签 --by 王鸣", "parameters": [ { "description": "单/批量设置短剧标签请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletTagSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/tag/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端更新标签", "parameters": [ { "description": "更新标签请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletTagUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/theme/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端新增题材", "parameters": [ { "description": "新增题材请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletThemeAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletThemeAddResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/theme/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端删除题材", "parameters": [ { "description": "删除题材请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletThemeDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/theme/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询短剧题材", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端题材列表", "parameters": [ { "type": "integer", "name": "id", "in": "query" }, { "type": "string", "name": "name", "in": "query" }, { "type": "integer", "name": "pageNum", "in": "query" }, { "type": "integer", "name": "pageSize", "in": "query" }, { "type": "boolean", "name": "status", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletThemeListPageResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/theme/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据短剧ID集合批量更新 playlet 集合 themeIds 字段,传1个ID表示单条设置,传多个ID表示批量设置;themeIds 可设置多个题材", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端单/批量设置短剧题材 --by 王鸣", "parameters": [ { "description": "单/批量设置短剧题材请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletThemeSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/theme/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端更新题材", "parameters": [ { "description": "更新题材请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletThemeUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/playlet/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web短剧相关接口" ], "summary": "web端更新短剧", "parameters": [ { "description": "更新短剧请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/post/comment/del": { "post": { "description": "删除一个评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "删除一个评论", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_commend.CommendDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/post/comment/list": { "post": { "description": "评论列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "评论列表", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_commend.CommendSearch" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_commend.CommendSearchResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/post/comment/replay": { "post": { "description": "回复评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "回复评论", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_commend.CommendReplay" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/post/comment/review": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "审核评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "审核评论", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_commend.CommendReviewReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/post/comment/reviewBatch": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "批量审核评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "批量审核评论", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_commend.CommendReviewBatchReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/post/comment/user/del": { "post": { "description": "删除一个用户所有评论", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "评论" ], "summary": "删除一个用户所有评论", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_commend.CommendDelIpReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/recharge/package/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "新增购买套餐 -- by 王鸣", "parameters": [ { "description": "新增参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/recharge/package/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "删除购买套餐 -- by 王鸣", "parameters": [ { "description": "删除参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/recharge/package/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "查询购买套餐列表 -- by 王鸣", "parameters": [ { "description": "查询参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageListResp" } } } } }, "/api/web/recharge/package/status/set": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "单/批量设置购买套餐状态 -- by 王鸣", "parameters": [ { "description": "设置状态参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageStatusSetReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/recharge/package/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "更新购买套餐 -- by 王鸣", "parameters": [ { "description": "更新参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/recharge/package/vip/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "只返回 PackageType=1 的启用套餐,字段仅包含 id 和 name,不分页", "produces": [ "application/json" ], "tags": [ "套餐管理" ], "summary": "查询会员畅享套餐选项 -- by 王鸣", "responses": { "200": { "description": "成功", "schema": { "type": "array", "items": { "$ref": "#/definitions/srv_rechargepackage.VipPackageOption" } } } } } }, "/api/web/resource/import": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "提交媒资入库任务,后台从媒资中心同步短剧详情并写入短剧和章节集合", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web媒资库相关接口" ], "summary": "web端短剧媒资入库 -- by 王鸣", "parameters": [ { "description": "短剧媒资入库请求", "name": "params", "in": "body", "required": true, "schema": { "$ref": "#/definitions/proto.PlayletResourceUseReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/resource/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询短剧媒资列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "web媒资库相关接口" ], "summary": "web端短剧媒资列表 -- by 王鸣", "parameters": [ { "type": "integer", "description": "媒体类型 4-短剧 6-影剧", "name": "media_type", "in": "query" }, { "type": "integer", "description": "页码", "name": "pageNumber", "in": "query" }, { "type": "integer", "description": "个数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "同步类型 1-全量同步 2-增量同步", "name": "sync_type", "in": "query" }, { "type": "string", "description": "标签", "name": "tag", "in": "query" }, { "type": "string", "description": "标题", "name": "title", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/proto.PlayletResourceListResp" } }, "400": { "description": "失败", "schema": { "type": "string" } } } } }, "/api/web/richtextcontent/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个富文本内容", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "富文本内容" ], "summary": "添加一个富文本内容", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/richtextcontentmod.RichTextContentModel" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/richtextcontent/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个富文本内容", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "富文本内容" ], "summary": "删除一个富文本内容", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_richtextcontent.DelRichTextContentReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/richtextcontent/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取富文本内容", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "富文本内容" ], "summary": "分组分页获取富文本内容", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_richtextcontent.GetRichTextContentListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_richtextcontent.GetRichTextContentResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/richtextcontent/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个富文本内容", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "富文本内容" ], "summary": "更新一个富文本内容", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_richtextcontent.UpdateRichTextContentReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-添加", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-添加", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleAddReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleAddResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-删除", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-删除", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleDelResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/drop": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-下拉列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-下拉列表", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleDropResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/enable": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-使能", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-使能", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleEnableReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleEnableResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/getauth": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-获取权限", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-获取权限", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleGetAuthReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleGetAuthResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/getinfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-获取信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-获取信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleGetInfoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleGetInfoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-列表", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/pubdef.Page" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleListResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/up": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-更新", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-更新", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleUpReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleUpResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/role/upauth": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色-更新权限", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色" ], "summary": "角色-更新权限", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_acc.MwRoleUpAuthReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_acc.MwRoleUpAuthResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/stat/analytics": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "统计数据", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "获取统计数据" ], "summary": "统计数据", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/webanalytics.AnalyticsStat" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/stat/daily/analytics": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "统计数据", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "获取统计数据" ], "summary": "统计数据", "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/webanalytics.AnalyticsDailyStat" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/syscfg/get": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "获取系统配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统配置" ], "summary": "获取系统配置", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_cfg.GetSysConfigReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_cfg.GetSysConfigResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/syscfg/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "修改系统配置", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统配置" ], "summary": "修改系统配置", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/web_cfg.SysConfigUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/web_cfg.SysConfigUpdateResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/third/paycenter/bill/callback": { "post": { "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "支付回调" ], "summary": "嘉华支付回调通知(内部接口,无需鉴权)", "parameters": [ { "description": "回调参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_recharge.BillCallbackParam" } } ], "responses": { "200": { "description": "success", "schema": { "type": "string" } } } } }, "/api/web/translation/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个导航跳转信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航跳转信息" ], "summary": "添加一个导航跳转信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/translationmod.TranslationInfo" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translation/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个导航跳转信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航跳转信息" ], "summary": "删除一个导航跳转信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translation.TranslationInfoDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translation/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取导航跳转信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航跳转信息" ], "summary": "分组分页获取导航跳转信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translation.TranslationInfoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_translation.TranslationInfoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translation/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个导航跳转信息", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航跳转信息" ], "summary": "更新一个导航跳转信息", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translation.TranslationInfoUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translationcategory/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个导航分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航分类" ], "summary": "添加一个导航分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/translationcategorymod.TranslationCategory" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translationcategory/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个导航分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航分类" ], "summary": "删除一个导航分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translationcategory.TranslationCategoryDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translationcategory/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取导航分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航分类" ], "summary": "分组分页获取导航分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translationcategory.TranslationCategoryReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_translationcategory.TranslationCategoryResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/translationcategory/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个导航分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "导航分类" ], "summary": "更新一个导航分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_translationcategory.TranslationCategoryUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/user/giftcoin": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "coin 为正数表示赠送,为负数表示扣除;操作会自动记录金币流水", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "赠送/扣除用户金币", "parameters": [ { "description": "赠送参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_user.GiftCoinReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/user/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "查询用户列表", "parameters": [ { "description": "查询参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_user.UserListReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_user.UserListResp" } } } } }, "/api/web/user/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "更新用户信息", "parameters": [ { "description": "更新参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_user.UserUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/user/vip/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据会员畅享套餐ID修改用户会员信息,不处理赠送金币", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户管理" ], "summary": "修改用户会员", "parameters": [ { "description": "修改会员参数", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_user.UpdateVipReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } } } } }, "/api/web/videocategory/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个视频分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频分类" ], "summary": "添加一个视频分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/videocategorymod.VideoCategory" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocategory/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个视频分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频分类" ], "summary": "删除一个视频分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocategory.VideoCategoryDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocategory/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取视频分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频分类" ], "summary": "分组分页获取视频分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocategory.VideoCategoryReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videocategory.VideoCategoryResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocategory/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个视频分类", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频分类" ], "summary": "更新一个视频分类", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocategory.VideoCategoryUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocreater/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个视频作者", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频作者" ], "summary": "添加一个视频作者", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/videocreatermod.VideoCreaterInfo" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocreater/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个视频作者", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频作者" ], "summary": "删除一个视频作者", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocreater.VideoCreaterDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocreater/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取视频作者", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频作者" ], "summary": "分组分页获取视频作者", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocreater.VideoCreaterReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videocreater.VideoCreaterResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videocreater/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个视频作者", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频作者" ], "summary": "更新一个视频作者", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videocreater.VideoCreaterUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/addcoll": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "新增一个视频合集", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "新增一个视频合集", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.AddVideoCollectionReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个视频管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "删除一个视频管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.VideoInfoDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取视频管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "分组分页获取视频管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.VideoInfoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videoinfo.VideoInfoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/setFakeWatchTimes": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "根据ids批量随机设置视频假观看次数", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "单/批量设置视频假观看次数 --by 旺鸣", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.SetFakeWatchTimesReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videoinfo.SetFakeCountResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/sync": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "从切片列表同步多个视频", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "从切片列表同步多个视频", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.AddVideoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videoinfo/transcode": { "post": { "tags": [ "视频管理" ], "summary": "提交视频 H265 转码", "responses": {} } }, "/api/web/videoinfo/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个视频管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频管理" ], "summary": "更新一个视频管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videoinfo.VideoInfoUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotag/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个标签管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签管理" ], "summary": "添加一个标签管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/videotagmod.VideoTagInfo" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotag/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个标签管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签管理" ], "summary": "删除一个标签管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotag.VideoTagInfoDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotag/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取标签管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签管理" ], "summary": "分组分页获取标签管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotag.VideoTagInfoReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videotag.VideoTagInfoResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotag/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个标签管理", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签管理" ], "summary": "更新一个标签管理", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotag.VideoTagInfoUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotopic/add": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "添加一个视频专题", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频专题" ], "summary": "添加一个视频专题", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/videotopicmod.VideoTopicModel" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotopic/del": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "删除一个视频专题", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频专题" ], "summary": "删除一个视频专题", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotopic.VideoTopicDelReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotopic/list": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "分组分页获取视频专题", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频专题" ], "summary": "分组分页获取视频专题", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotopic.VideoTopicReq" } } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videotopic.VideoTopicResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/api/web/videotopic/update": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "更新一个视频专题", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频专题" ], "summary": "更新一个视频专题", "parameters": [ { "description": "参数列表", "name": "param", "in": "body", "required": true, "schema": { "$ref": "#/definitions/srv_videotopic.VideoTopicUpdateReq" } } ], "responses": { "200": { "description": "成功", "schema": { "type": "string" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } }, "/wbapi/69cgw/hottag": { "get": { "description": "根据视频累计播放量聚合返回热门标签列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签管理" ], "summary": "查询播放量最多的标签", "parameters": [ { "type": "integer", "description": "返回条数,默认10,最大1000", "name": "limit", "in": "query" } ], "responses": { "200": { "description": "成功", "schema": { "$ref": "#/definitions/srv_videotag.HotTagResp" } }, "400": { "description": "获取失败的返回结果", "schema": { "type": "string" } } } } } }, "definitions": { "cointransmod.CoinTrans": { "type": "object", "properties": { "amount": { "description": "本次交易金币数(正整数)", "type": "integer" }, "balanceAfter": { "description": "交易后余额", "type": "integer" }, "balanceBefore": { "description": "交易前余额", "type": "integer" }, "createdAt": { "description": "交易时间", "type": "string" }, "flowDir": { "description": "收支方向:1收入 -1支出", "allOf": [ { "$ref": "#/definitions/cointransmod.FlowDir" } ] }, "id": { "description": "唯一ID", "type": "integer" }, "orderNo": { "description": "关联订单号(可为空)", "type": "string" }, "relatedId": { "description": "关联内容ID(视频等,可为空)", "type": "integer" }, "remark": { "description": "备注描述", "type": "string" }, "tranType": { "description": "交易类型", "allOf": [ { "$ref": "#/definitions/cointransmod.TranType" } ] }, "userId": { "description": "用户ID", "type": "integer" }, "userName": { "description": "用户昵称(快照)", "type": "string" } } }, "cointransmod.FlowDir": { "type": "integer", "enum": [ 1, -1 ], "x-enum-comments": { "FlowIn": "收入(充值、赠送)", "FlowOut": "支出(消费、解锁)" }, "x-enum-varnames": [ "FlowIn", "FlowOut" ] }, "cointransmod.TranType": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ], "x-enum-comments": { "TranTypeAdminAdjust": "管理员手动调整", "TranTypeCoinRecharge": "金币充值(购买金币)", "TranTypeDarkAlley": "历史遗留交易类型(已下线)", "TranTypeVideoUnlock": "视频解锁", "TranTypeVipGiftCoin": "购买会员赠送金币" }, "x-enum-varnames": [ "TranTypeCoinRecharge", "TranTypeVipGiftCoin", "TranTypeDarkAlley", "TranTypeVideoUnlock", "TranTypeAdminAdjust" ] }, "detailnavmod.DetailNavModel": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "id": { "type": "string" }, "name": { "description": "导航名称", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "是否启用", "type": "boolean" }, "updatedAt": { "description": "更新时间", "type": "string" }, "url": { "description": "导航链接", "type": "string" } } }, "ipblackmod.IPBlackModel": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "备注", "type": "string" }, "id": { "type": "string" }, "ip": { "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "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 ], "x-enum-comments": { "WatermarkStatusDone": "已完成", "WatermarkStatusPending": "未处理(待 mediafile/sync)", "WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)", "WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)" }, "x-enum-varnames": [ "WatermarkStatusPending", "WatermarkStatusRegistered", "WatermarkStatusProcessing", "WatermarkStatusDone" ] }, "playletmod.ContentType": { "type": "integer", "enum": [ 0, 1 ], "x-enum-comments": { "ContentTypeAlbum": "影集", "ContentTypeTheater": "短剧" }, "x-enum-varnames": [ "ContentTypeTheater", "ContentTypeAlbum" ] }, "playletmod.Status": { "type": "integer", "enum": [ 0, 1 ], "x-enum-comments": { "StatusDown": "下架", "StatusUp": "上架" }, "x-enum-varnames": [ "StatusDown", "StatusUp" ] }, "proto.ContactUsHandleReq": { "type": "object", "required": [ "ids", "status" ], "properties": { "ids": { "description": "联系我们ID集合", "type": "array", "items": { "type": "integer" } }, "remark": { "description": "处理备注", "type": "string" }, "status": { "description": "处理状态,0-待处理、1-已处理", "type": "integer" } } }, "proto.ContactUsHandleResp": { "type": "object", "properties": { "matchedCount": { "description": "命中数量", "type": "integer" }, "modifiedCount": { "description": "修改数量", "type": "integer" } } }, "proto.ContactUsListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.ContactUsListResp": { "type": "object", "properties": { "attachments": { "description": "附件地址", "type": "array", "items": { "type": "string" } }, "content": { "description": "内容", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "id": { "description": "ID", "type": "integer" }, "remark": { "description": "处理备注", "type": "string" }, "status": { "description": "处理状态,0-待处理、1-已处理", "type": "integer" }, "title": { "description": "标题", "type": "string" }, "type": { "description": "问题类型,1-订单问题、2-账号问题、3-功能问题、4-体验问题、5-其他", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" }, "userName": { "description": "用户名称", "type": "string" } } }, "proto.FeedbackHandleReq": { "type": "object", "required": [ "ids", "status" ], "properties": { "ids": { "description": "意见反馈ID集合", "type": "array", "items": { "type": "integer" } }, "remark": { "description": "处理备注", "type": "string" }, "status": { "description": "处理状态,0-待处理、1-已处理", "type": "integer" } } }, "proto.FeedbackHandleResp": { "type": "object", "properties": { "matchedCount": { "description": "命中数量", "type": "integer" }, "modifiedCount": { "description": "修改数量", "type": "integer" } } }, "proto.FeedbackListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.FeedbackListResp": { "type": "object", "properties": { "contact": { "description": "联系方式", "type": "string" }, "content": { "description": "描述内容", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "ID", "type": "integer" }, "remark": { "description": "处理备注", "type": "string" }, "screenshots": { "description": "问题截图", "type": "array", "items": { "type": "string" } }, "status": { "description": "处理状态,0-待处理、1-已处理", "type": "integer" }, "type": { "description": "问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" }, "userName": { "description": "用户名称", "type": "string" } } }, "proto.PlayletAddReq": { "type": "object", "required": [ "title" ], "properties": { "anchor": { "type": "string" }, "banner": { "type": "string" }, "contentType": { "$ref": "#/definitions/playletmod.ContentType" }, "cover": { "type": "string" }, "desc": { "type": "string" }, "isFeatured": { "description": "是否爆剧(true-是,false-否)", "type": "boolean" }, "isRecommend": { "type": "boolean" }, "preview": { "type": "string" }, "recommendRank": { "type": "integer" }, "showOnBanner": { "type": "boolean" }, "status": { "$ref": "#/definitions/playletmod.Status" }, "tagIds": { "type": "array", "items": { "type": "integer" } }, "themeIds": { "type": "array", "items": { "type": "integer" } }, "title": { "type": "string" }, "topRank": { "type": "integer" }, "totalEpisode": { "type": "integer" } } }, "proto.PlayletAddResp": { "type": "object", "properties": { "id": { "type": "integer" } } }, "proto.PlayletBannerSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "showOnBanner": { "description": "是否显示在首页banner(true-显示,false-不显示)", "type": "boolean" } } }, "proto.PlayletChapterAddReq": { "type": "object", "required": [ "currentEpisode", "playletId" ], "properties": { "currentEpisode": { "type": "integer" }, "hash": { "type": "string" }, "height": { "type": "integer" }, "md5": { "type": "string" }, "mediaSize": { "type": "integer" }, "mediaTime": { "type": "integer" }, "payType": { "$ref": "#/definitions/playletchaptermod.PayType" }, "playletId": { "type": "integer" }, "ratio": { "type": "number" }, "singleCoins": { "type": "integer" }, "title": { "type": "string" }, "videoUrl": { "type": "string" }, "width": { "type": "integer" } } }, "proto.PlayletChapterAddResp": { "type": "object", "properties": { "id": { "type": "integer" } } }, "proto.PlayletChapterListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.PlayletChapterDelReq": { "type": "object", "properties": { "ids": { "description": "章节ID集合,传1个表示单条删除,传多个表示批量删除", "type": "array", "items": { "type": "integer" } } } }, "proto.PlayletChapterPayTypeSetReq": { "type": "object", "properties": { "ids": { "description": "章节ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "payType": { "description": "支付方式 0-免费 1-金币 2-VIP", "allOf": [ { "$ref": "#/definitions/playletchaptermod.PayType" } ] }, "singleCoins": { "description": "单集金币(支付方式为1-金币时必填且需\u003e0)", "type": "integer" } } }, "proto.PlayletChapterUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "currentEpisode": { "type": "integer" }, "hash": { "type": "string" }, "height": { "type": "integer" }, "id": { "type": "integer" }, "md5": { "type": "string" }, "mediaSize": { "type": "integer" }, "mediaTime": { "type": "integer" }, "payType": { "$ref": "#/definitions/playletchaptermod.PayType" }, "ratio": { "type": "number" }, "singleCoins": { "type": "integer" }, "title": { "type": "string" }, "videoUrl": { "type": "string" }, "width": { "type": "integer" } } }, "proto.PlayletFeaturedSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "isFeatured": { "description": "是否爆剧(true-是,false-否)", "type": "boolean" } } }, "proto.PlayletListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.PlayletRecommendSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "isRecommend": { "description": "是否推荐(true-推荐,false-不推荐)", "type": "boolean" } } }, "proto.PlayletResourceListItem": { "type": "object", "properties": { "anchor": { "description": "作者", "type": "string" }, "create_time": { "description": "创建时间", "type": "integer" }, "data_version": { "description": "数据版本", "type": "integer" }, "horizontal_cover": { "description": "横版封面", "type": "string" }, "id": { "type": "integer" }, "isAdd": { "description": "是否已加入后台数据", "type": "boolean" }, "media_type": { "description": "媒体类型", "type": "integer" }, "sale_coin": { "description": "整部售价", "type": "integer" }, "summary": { "description": "简介", "type": "string" }, "tags_text": { "description": "标签文字", "type": "string" }, "terminal_cdo": { "description": "上传者", "type": "string" }, "title": { "description": "标题", "type": "string" }, "total_episode": { "description": "总集数", "type": "integer" }, "update_status": { "description": "更新状态 1-连载中 2-已完结", "type": "integer" }, "update_time": { "description": "修改时间", "type": "integer" }, "vertical_cover": { "description": "竖版封面", "type": "string" }, "vlogger_id": { "type": "integer" } } }, "proto.PlayletResourceListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/proto.PlayletResourceListItem" } }, "total": { "type": "integer" } } }, "proto.PlayletResourceUseReq": { "type": "object", "properties": { "ids": { "description": "媒资中心资源ID集合-多个用逗号隔开,请求示例[28830,28829,28828,28827,28826,28825]", "type": "array", "items": { "type": "integer" } } } }, "proto.PlayletStatusSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "status": { "description": "上架状态 0-下架 1-上架", "allOf": [ { "$ref": "#/definitions/playletmod.Status" } ] } } }, "proto.PlayletTagAddReq": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" }, "rank": { "type": "integer" }, "status": { "type": "boolean" } } }, "proto.PlayletTagAddResp": { "type": "object", "properties": { "id": { "type": "integer" } } }, "proto.PlayletTagDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "proto.PlayletTagListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.PlayletTagSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "tagIds": { "description": "标签ID集合,可设置多个标签,传空数组表示清空标签,不传表示参数错误", "type": "array", "items": { "type": "integer" } } } }, "proto.PlayletTagUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "rank": { "type": "integer" }, "status": { "type": "boolean" } } }, "proto.PlayletThemeAddReq": { "type": "object", "required": [ "name" ], "properties": { "icon": { "type": "string" }, "name": { "type": "string" }, "rank": { "type": "integer" }, "status": { "type": "boolean" } } }, "proto.PlayletThemeAddResp": { "type": "object", "properties": { "id": { "type": "integer" } } }, "proto.PlayletThemeDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "proto.PlayletThemeListPageResp": { "type": "object", "properties": { "list": { "description": "集合列表" }, "pageNum": { "description": "页数", "type": "integer" }, "pageSize": { "description": "每页数", "type": "integer" }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "proto.PlayletThemeSetReq": { "type": "object", "properties": { "ids": { "description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置", "type": "array", "items": { "type": "integer" } }, "themeIds": { "description": "题材ID集合,可设置多个题材", "type": "array", "items": { "type": "integer" } } } }, "proto.PlayletThemeUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "icon": { "type": "string" }, "id": { "type": "integer" }, "name": { "type": "string" }, "rank": { "type": "integer" }, "status": { "type": "boolean" } } }, "proto.PlayletUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "anchor": { "type": "string" }, "banner": { "type": "string" }, "contentType": { "$ref": "#/definitions/playletmod.ContentType" }, "cover": { "type": "string" }, "desc": { "type": "string" }, "id": { "type": "integer" }, "isFeatured": { "description": "是否爆剧(true-是,false-否)", "type": "boolean" }, "isRecommend": { "type": "boolean" }, "preview": { "type": "string" }, "recommendRank": { "type": "integer" }, "showOnBanner": { "type": "boolean" }, "status": { "$ref": "#/definitions/playletmod.Status" }, "tagIds": { "type": "array", "items": { "type": "integer" } }, "themeIds": { "type": "array", "items": { "type": "integer" } }, "title": { "type": "string" }, "topRank": { "type": "integer" }, "totalEpisode": { "type": "integer" } } }, "pubdef.LoginType": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "LoginTypeAccount": "账号登陆", "LoginTypeDevice": "设备登陆", "LoginTypeEmail": "邮箱登陆" }, "x-enum-varnames": [ "LoginTypeDevice", "LoginTypeAccount", "LoginTypeEmail" ] }, "pubdef.Page": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "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" ] }, "pubdef.UserType": { "type": "integer", "enum": [ 0, 1, 0 ], "x-enum-comments": { "UserTypeGuest": "游客用户", "UserTypeNormal": "普通用户(已注册)" }, "x-enum-varnames": [ "UserTypeGuest", "UserTypeNormal", "UserTypeNone" ] }, "pubdef.VipOrderStatus": { "type": "integer", "enum": [ 1, 2, 3 ], "x-enum-comments": { "VipOrderFailed": "支付失败", "VipOrderPending": "待支付", "VipOrderSuccess": "支付成功" }, "x-enum-varnames": [ "VipOrderPending", "VipOrderSuccess", "VipOrderFailed" ] }, "pubdef.VipType": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "VipTypeMonth": "月卡", "VipTypeNone": "没卡", "VipTypeYear": "年卡" }, "x-enum-varnames": [ "VipTypeNone", "VipTypeMonth", "VipTypeYear" ] }, "rechargepackagemod.PackageType": { "type": "integer", "enum": [ 1, 2 ], "x-enum-comments": { "PackageTypeCoin": "金币充值", "PackageTypeVip": "会员畅享" }, "x-enum-varnames": [ "PackageTypeVip", "PackageTypeCoin" ] }, "rechargepackagemod.Status": { "type": "integer", "enum": [ 1, 2 ], "x-enum-comments": { "StatusDisabled": "停用", "StatusEnabled": "启用" }, "x-enum-varnames": [ "StatusEnabled", "StatusDisabled" ] }, "richtextcontentmod.RichTextContentModel": { "type": "object", "properties": { "content": { "description": "内容", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "标题(app)", "type": "string" }, "id": { "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序值", "type": "integer" }, "status": { "description": "是否启用", "type": "boolean" }, "title": { "description": "标题(内部)", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "srv_acc.OpLogInfo": { "type": "object", "properties": { "actId": { "description": "操作人Id", "type": "integer" }, "actName": { "description": "操作人", "type": "string" }, "action": { "description": "操作目的", "type": "string" }, "createdAt": { "description": "操作时间", "type": "string" }, "param": { "description": "操作内容", "type": "string" }, "path": { "description": "请求接口", "type": "string" } } }, "srv_cointrans.CoinTransReq": { "type": "object", "properties": { "endTime": { "description": "结束时间 2006-01-02 15:04:05", "type": "string" }, "flowDir": { "description": "收支方向:1收入 -1支出", "allOf": [ { "$ref": "#/definitions/cointransmod.FlowDir" } ] }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "startTime": { "description": "开始时间 2006-01-02 15:04:05", "type": "string" }, "tranType": { "description": "交易类型", "allOf": [ { "$ref": "#/definitions/cointransmod.TranType" } ] }, "userId": { "description": "用户ID", "type": "integer" } } }, "srv_cointrans.CoinTransResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/cointransmod.CoinTrans" } }, "total": { "type": "integer" } } }, "srv_commend.CommendReplay": { "type": "object", "properties": { "objectId": { "description": "帖子ID", "type": "integer" }, "parentsId": { "description": "评论ID", "type": "integer" }, "score": { "description": "评分", "type": "integer" }, "text": { "description": "评论内容", "type": "string" }, "userName": { "description": "用户名", "type": "string" } } }, "srv_commend.CommendReviewReq": { "type": "object", "properties": { "id": { "type": "integer" }, "reviewStatus": { "type": "integer" } } }, "srv_commend.CommendSearch": { "type": "object", "properties": { "level": { "description": "评论级别", "type": "integer" }, "objectId": { "description": "对象ID", "type": "integer" }, "objectType": { "description": "对象类型 10-短剧 11-短剧剧集", "type": "integer" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "reviewStatus": { "type": "integer" }, "text": { "description": "评论内容", "type": "string" }, "userId": { "description": "评论用户ID", "type": "integer" }, "userName": { "description": "用户名称", "type": "string" } } }, "srv_commend.CommendSearchResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/srv_commend.PostCommentInfo" } }, "total": { "type": "integer" } } }, "srv_commend.PostCommentInfo": { "type": "object", "properties": { "countLike": { "description": "评论点赞数", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "id": { "description": "评论ID", "type": "integer" }, "ip": { "description": "评论IP", "type": "string" }, "level": { "description": "评论级别", "type": "integer" }, "likes": { "description": "点赞数", "type": "integer" }, "objectId": { "description": "对象ID", "type": "integer" }, "objectName": { "description": "对象名", "type": "string" }, "objectType": { "description": "对象类型 10-短剧 11-短剧剧集", "type": "integer" }, "parentsId": { "description": "上级评论ID", "type": "integer" }, "replyUserName": { "description": "回复名称", "type": "string" }, "reviewStatus": { "description": "审核状态 0 未审核 1审核成功 2 审核失败", "type": "integer" }, "status": { "description": "评论用户的状态", "allOf": [ { "$ref": "#/definitions/pubdef.UserStatus" } ] }, "text": { "description": "评论内容", "type": "string" }, "topRank": { "description": "置顶排序", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userAvatar": { "description": "评论用户头像", "type": "string" }, "userId": { "description": "评论用户ID", "type": "integer" }, "userName": { "description": "用户名称", "type": "string" } } }, "srv_detailnav.AddDetailNavReq": { "type": "object", "required": [ "name", "url" ], "properties": { "name": { "description": "导航名称", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "是否启用", "type": "boolean" }, "url": { "description": "导航链接", "type": "string" } } }, "srv_detailnav.DelDetailNavReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string" } } }, "srv_detailnav.GetDetailNavListReq": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_detailnav.GetDetailNavListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/detailnavmod.DetailNavModel" } }, "total": { "type": "integer" } } }, "srv_detailnav.UpdateDetailNavParam": { "type": "object", "properties": { "name": { "type": "string" }, "sort": { "type": "integer" }, "status": { "type": "boolean" }, "url": { "type": "string" } } }, "srv_detailnav.UpdateDetailNavReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string" }, "param": { "$ref": "#/definitions/srv_detailnav.UpdateDetailNavParam" } } }, "srv_ipblack.AddIPBlackListReq": { "type": "object", "properties": { "desc": { "description": "备注", "type": "string" }, "ip": { "type": "string" } } }, "srv_ipblack.DelIpBlackListReq": { "type": "object", "properties": { "ip": { "type": "string" } } }, "srv_ipblack.GetIPBlackListReq": { "type": "object", "properties": { "ip": { "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_ipblack.GetIPBlackListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/ipblackmod.IPBlackModel" } }, "total": { "type": "integer" } } }, "srv_recharge.BillCallbackParam": { "type": "object", "properties": { "oid": { "type": "string" }, "payMoney": { "type": "integer" }, "paymentAt": { "type": "string" }, "successAt": { "type": "string" }, "transNo": { "type": "string" } } }, "srv_rechargepackage.RechargePackageAddReq": { "type": "object", "required": [ "name", "packageType", "price" ], "properties": { "baseCoin": { "description": "基础金币数,会员套餐传0", "type": "integer" }, "durationDays": { "description": "会员有效天数,金币套餐传0", "type": "integer" }, "giftCoin": { "description": "赠送金币数", "type": "integer" }, "name": { "description": "展示标题", "type": "string" }, "originalPrice": { "description": "原价,单位分", "type": "integer" }, "packageType": { "description": "套餐类型:1-会员畅享 2-金币充值", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.PackageType" } ] }, "price": { "description": "售价,单位分", "type": "integer" }, "remark": { "description": "后台备注", "type": "string" }, "sort": { "description": "排序,越小越靠前", "type": "integer" }, "status": { "description": "状态:1-启用 2-停用,默认1", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.Status" } ] } } }, "srv_rechargepackage.RechargePackageDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "description": "套餐ID", "type": "integer" } } }, "srv_rechargepackage.RechargePackageItem": { "type": "object", "properties": { "baseCoin": { "description": "基础金币数", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "durationDays": { "description": "会员有效天数", "type": "integer" }, "durationHours": { "description": "会员有效小时数,由durationDays计算", "type": "integer" }, "giftCoin": { "description": "赠送金币数", "type": "integer" }, "id": { "description": "套餐ID", "type": "integer" }, "name": { "description": "展示标题", "type": "string" }, "originalPrice": { "description": "原价,单位分", "type": "integer" }, "packageType": { "description": "套餐类型:1-会员畅享 2-金币充值", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.PackageType" } ] }, "price": { "description": "售价,单位分", "type": "integer" }, "remark": { "description": "后台备注", "type": "string" }, "sort": { "description": "排序,越小越靠前", "type": "integer" }, "status": { "description": "状态:1-启用 2-停用", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.Status" } ] }, "subTitle": { "description": "展示副标题", "type": "string" }, "totalCoin": { "description": "到账总金币数,由baseCoin+giftCoin计算", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "srv_rechargepackage.RechargePackageListReq": { "type": "object", "properties": { "id": { "description": "套餐ID", "type": "integer" }, "name": { "description": "展示标题,模糊搜索", "type": "string" }, "packageType": { "description": "套餐类型:1-会员畅享 2-金币充值", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.PackageType" } ] }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "status": { "description": "状态:1-启用 2-停用", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.Status" } ] } } }, "srv_rechargepackage.RechargePackageListResp": { "type": "object", "properties": { "list": { "description": "当前页列表", "type": "array", "items": { "$ref": "#/definitions/srv_rechargepackage.RechargePackageItem" } }, "total": { "description": "总数量", "type": "integer" } } }, "srv_rechargepackage.RechargePackageStatusSetReq": { "type": "object", "properties": { "ids": { "description": "套餐ID集合", "type": "array", "items": { "type": "integer" } }, "status": { "description": "状态:1-启用 2-停用", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.Status" } ] } } }, "srv_rechargepackage.RechargePackageUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "baseCoin": { "description": "基础金币数", "type": "integer" }, "durationDays": { "description": "会员有效天数", "type": "integer" }, "giftCoin": { "description": "赠送金币数", "type": "integer" }, "id": { "description": "套餐ID", "type": "integer" }, "name": { "description": "展示标题", "type": "string" }, "originalPrice": { "description": "原价,单位分", "type": "integer" }, "packageType": { "description": "套餐类型:1-会员畅享 2-金币充值", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.PackageType" } ] }, "price": { "description": "售价,单位分", "type": "integer" }, "remark": { "description": "后台备注", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "状态:1-启用 2-停用", "allOf": [ { "$ref": "#/definitions/rechargepackagemod.Status" } ] } } }, "srv_rechargepackage.VipPackageOption": { "type": "object", "properties": { "id": { "description": "套餐ID", "type": "integer" }, "name": { "description": "套餐名称", "type": "string" } } }, "srv_richtextcontent.DelRichTextContentReq": { "type": "object", "properties": { "id": { "type": "integer" } } }, "srv_richtextcontent.GetRichTextContentListReq": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "status": { "description": "是否启用", "type": "boolean" }, "title": { "description": "标题", "type": "string" } } }, "srv_richtextcontent.GetRichTextContentResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/richtextcontentmod.RichTextContentModel" } }, "total": { "type": "integer" } } }, "srv_richtextcontent.UpdateRichTextContentData": { "type": "object", "properties": { "_id": { "type": "integer" }, "content": { "description": "内容", "type": "string" }, "desc": { "description": "标题(app)", "type": "string" }, "location": { "description": "位置", "type": "array", "items": { "type": "string" } }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序值", "type": "integer" }, "status": { "description": "是否启用", "type": "boolean" }, "title": { "description": "标题", "type": "string" }, "updatedAt": { "type": "string" } } }, "srv_richtextcontent.UpdateRichTextContentReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_richtextcontent.UpdateRichTextContentData" } ] } } }, "srv_translation.TranslationInfoDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_translation.TranslationInfoReq": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_translation.TranslationInfoResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/translationmod.TranslationInfo" } }, "total": { "type": "integer" } } }, "srv_translation.TranslationInfoUpdate": { "type": "object", "properties": { "htmlId": { "description": "富文本ID", "type": "integer" }, "isFriendAds": { "description": "是否是友链广告位", "type": "boolean" }, "link": { "description": "外部跳转", "type": "string" }, "name": { "description": "分类名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "transCategoryId": { "type": "integer" }, "updatedAt": { "type": "string" } } }, "srv_translation.TranslationInfoUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_translation.TranslationInfoUpdate" } ] } } }, "srv_translationcategory.TranslationCategoryDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_translationcategory.TranslationCategoryReq": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_translationcategory.TranslationCategoryResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/translationcategorymod.TranslationCategory" } }, "total": { "type": "integer" } } }, "srv_translationcategory.TranslationCategoryUpdate": { "type": "object", "properties": { "appId": { "description": "appId,唯一id", "type": "integer" }, "categoryType": { "description": "导航类型 1=url跳转 2=二级导航 3=底部导航", "type": "integer" }, "icon": { "description": "Icon", "type": "string" }, "name": { "description": "名称", "type": "string" }, "rank": { "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "updatedAt": { "type": "string" }, "urlValue": { "description": "跳转URL", "type": "string" } } }, "srv_translationcategory.TranslationCategoryUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_translationcategory.TranslationCategoryUpdate" } ] } } }, "srv_user.GiftCoinReq": { "type": "object", "required": [ "coin", "userId" ], "properties": { "coin": { "description": "赠送金币数(正数=增加,负数=扣除)", "type": "integer" }, "remark": { "description": "备注(记录在流水表)", "type": "string" }, "userId": { "description": "目标用户ID", "type": "integer" } } }, "srv_user.UpdateVipReq": { "type": "object", "required": [ "packageId", "userId" ], "properties": { "packageId": { "description": "会员畅享套餐ID", "type": "integer" }, "userId": { "description": "用户ID", "type": "integer" } } }, "srv_user.UserListReq": { "type": "object", "properties": { "id": { "description": "用户ID", "type": "integer" }, "nickName": { "description": "昵称(模糊)", "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "status": { "description": "状态", "allOf": [ { "$ref": "#/definitions/pubdef.UserStatus" } ] }, "type": { "description": "用户类型", "allOf": [ { "$ref": "#/definitions/pubdef.UserType" } ] } } }, "srv_user.UserListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/usermod.User" } }, "total": { "type": "integer" } } }, "srv_user.UserUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "$ref": "#/definitions/usermod.UserUpdate" } } }, "srv_videocategory.VideoCategoryDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_videocategory.VideoCategoryReq": { "type": "object", "properties": { "id": { "description": "分类ID", "type": "integer" }, "name": { "description": "分类名称", "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_videocategory.VideoCategoryResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/videocategorymod.VideoCategory" } }, "total": { "type": "integer" } } }, "srv_videocategory.VideoCategoryUpdate": { "type": "object", "properties": { "appId": { "description": "appId,唯一id", "type": "integer" }, "contentType": { "description": "内容:0: 默认 1:首页 2:今日", "type": "integer" }, "desc": { "description": "描述", "type": "string" }, "indexNow": { "type": "integer" }, "isReIndexNow": { "description": "是否重新提交索引", "type": "boolean" }, "name": { "description": "名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sortType": { "description": "排序方式 0:上线时间 1:观看次数 2排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "APP显示", "type": "string" }, "updatedAt": { "type": "string" } } }, "srv_videocategory.VideoCategoryUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_videocategory.VideoCategoryUpdate" } ] } } }, "srv_videocreater.VideoCreaterDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_videocreater.VideoCreaterReq": { "type": "object", "properties": { "id": { "description": "分类ID", "type": "integer" }, "name": { "description": "分类名称", "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" } } }, "srv_videocreater.VideoCreaterResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/videocreatermod.VideoCreaterInfo" } }, "total": { "type": "integer" } } }, "srv_videocreater.VideoCreaterUpdate": { "type": "object", "properties": { "appId": { "description": "appId,唯一id", "type": "integer" }, "indexNow": { "type": "integer" }, "isReIndexNow": { "description": "是否重新提交索引", "type": "boolean" }, "name": { "description": "名称", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "updatedAt": { "type": "string" } } }, "srv_videocreater.VideoCreaterUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_videocreater.VideoCreaterUpdate" } ] } } }, "srv_videoinfo.AddVideoCollectionReq": { "type": "object", "properties": { "coverImg": { "description": "封面", "type": "string" }, "desc": { "description": "详细描述", "type": "string" }, "firstTag": { "description": "一级标签", "type": "string" }, "keyworld": { "description": "关键字", "type": "array", "items": { "type": "string" } }, "remark": { "description": "备注", "type": "string" }, "secondTags": { "description": "二级标签标签", "type": "array", "items": { "type": "string" } }, "tags": { "description": "标签", "type": "array", "items": { "type": "integer" } }, "title": { "description": "帖子标题", "type": "string" } } }, "srv_videoinfo.AddVideoReq": { "type": "object", "properties": { "fileId": { "description": "资源id", "type": "array", "items": { "type": "string" } } } }, "srv_videoinfo.SetFakeCountResp": { "type": "object", "properties": { "matchedCount": { "description": "匹配到的视频数量", "type": "integer" }, "modifiedCount": { "description": "实际修改的视频数量", "type": "integer" } } }, "srv_videoinfo.SetFakeWatchTimesReq": { "type": "object", "properties": { "ids": { "description": "视频ID集合,支持单个或批量", "type": "array", "items": { "type": "integer" } }, "watchTimesMax": { "description": "假观看次数随机最大值", "type": "integer" }, "watchTimesMin": { "description": "假观看次数随机最小值", "type": "integer" } } }, "srv_videoinfo.VideoInfoDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_videoinfo.VideoInfoReq": { "type": "object", "properties": { "categoryId": { "description": "分类Id", "type": "integer" }, "creatorId": { "description": "作者Id", "type": "integer" }, "creatorName": { "description": "作者名称", "type": "string" }, "endTime": { "description": "创建时间-截止", "type": "string" }, "id": { "description": "Id", "type": "integer" }, "isH265": { "description": "是否支持 H265", "type": "boolean" }, "isHot": { "description": "是否热门", "type": "boolean" }, "isTop": { "description": "是否置顶", "type": "boolean" }, "keyworld": { "description": "关键字", "type": "string" }, "mediaType": { "description": "资源类型", "allOf": [ { "$ref": "#/definitions/videoinformationmod.MediaType" } ] }, "optionAccount": { "description": "最后操作人", "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "sort": { "description": "排序方式 0=创建时间 1=上架时间 2=更新时间 3=排序值 4=播放次数", "type": "integer" }, "startTime": { "description": "创建时间-开始", "type": "string" }, "status": { "description": "帖子上架状态", "allOf": [ { "$ref": "#/definitions/videoinformationmod.InformationSatus" } ] }, "tag": { "description": "标签", "type": "integer" }, "title": { "description": "标题", "type": "string" }, "topicId": { "description": "专题Id", "type": "integer" }, "videoFileId": { "description": "切片id(切片列表的ID)", "type": "string" }, "videoTaskId": { "description": "视频任务id", "type": "string" } } }, "srv_videoinfo.VideoInfoResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/videoinformationmod.VideoInformation" } }, "total": { "type": "integer" } } }, "srv_videoinfo.VideoInfoUpdate": { "type": "object", "properties": { "addedTime": { "type": "string" }, "categoryIds": { "description": "分类Id", "type": "array", "items": { "type": "integer" } }, "content": { "type": "string" }, "cover": { "description": "视频封面", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "creatorId": { "description": "作者Id", "type": "integer" }, "creatorName": { "description": "作者名", "type": "string" }, "desc": { "description": "详细描述", "type": "string" }, "firstTag": { "description": "一级标签", "type": "string" }, "height": { "description": "分辨率高(视频才会存在)", "type": "integer" }, "indexNow": { "type": "integer" }, "isHot": { "description": "是否热门", "type": "boolean" }, "isReIndexNow": { "description": "是否重新提交索引", "type": "boolean" }, "isTop": { "description": "是否置顶", "type": "boolean" }, "keyworld": { "type": "array", "items": { "type": "string" } }, "mediaType": { "description": "资源类型", "allOf": [ { "$ref": "#/definitions/videoinformationmod.MediaType" } ] }, "nodes": { "description": "节点", "type": "array", "items": { "$ref": "#/definitions/videoinformationmod.Node" } }, "remark": { "description": "备注", "type": "string" }, "secondTags": { "description": "二级标签标签", "type": "array", "items": { "type": "string" } }, "secondUpdatedAt": { "description": "二次修改时间", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "帖子上架状态", "allOf": [ { "$ref": "#/definitions/videoinformationmod.InformationSatus" } ] }, "tags": { "description": "标签", "type": "array", "items": { "type": "integer" } }, "title": { "description": "帖子标题", "type": "string" }, "topicIds": { "description": "专题ID", "type": "array", "items": { "type": "integer" } }, "unencryptedImage": { "description": "不加密封面", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "video": { "description": "视频", "allOf": [ { "$ref": "#/definitions/videoinformationmod.VideoInfo" } ] }, "videoTime": { "description": "影片长度", "type": "integer" }, "width": { "description": "分辨率宽(视频才会存在)", "type": "integer" } } }, "srv_videoinfo.VideoInfoUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_videoinfo.VideoInfoUpdate" } ] } } }, "srv_videotag.HotTagItem": { "type": "object", "properties": { "tagId": { "type": "integer" }, "title": { "type": "string" }, "watchTimes": { "type": "integer" } } }, "srv_videotag.HotTagResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/srv_videotag.HotTagItem" } } } }, "srv_videotag.VideoTagInfoDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_videotag.VideoTagInfoReq": { "type": "object", "properties": { "id": { "type": "integer" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "title": { "type": "string" } } }, "srv_videotag.VideoTagInfoResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/videotagmod.VideoTagInfo" } }, "total": { "type": "integer" } } }, "srv_videotag.VideoTagInfoUpdate": { "type": "object", "properties": { "appId": { "description": "appId,唯一id", "type": "integer" }, "indexNow": { "type": "integer" }, "isReIndexNow": { "description": "是否重新提交索引", "type": "boolean" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "帖子标题", "type": "string" }, "updatedAt": { "type": "string" } } }, "srv_videotag.VideoTagInfoUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_videotag.VideoTagInfoUpdate" } ] } } }, "srv_videotopic.VideoTopicDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "srv_videotopic.VideoTopicReq": { "type": "object", "properties": { "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "videoCategoryId": { "type": "integer" } } }, "srv_videotopic.VideoTopicResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/videotopicmod.VideoTopicModel" } }, "total": { "type": "integer" } } }, "srv_videotopic.VideoTopicUpdate": { "type": "object", "properties": { "desc": { "description": "描述", "type": "string" }, "image": { "description": "背景", "type": "string" }, "indexNow": { "type": "integer" }, "isReIndexNow": { "description": "是否重新提交索引", "type": "boolean" }, "name": { "description": "名称", "type": "string" }, "rank": { "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "APP显示", "type": "string" }, "updatedAt": { "type": "string" }, "videoCategoryId": { "description": "视频分类id", "type": "integer" }, "videoTopicType": { "description": "视频类型", "allOf": [ { "$ref": "#/definitions/videoinformationmod.MediaType" } ] } } }, "srv_videotopic.VideoTopicUpdateReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" }, "param": { "description": "appId,唯一id", "allOf": [ { "$ref": "#/definitions/srv_videotopic.VideoTopicUpdate" } ] } } }, "srv_viporder.VipOrderReq": { "type": "object", "properties": { "endTime": { "description": "创建时间-结束", "type": "string" }, "orderType": { "description": "订单类型:1会员 2金币", "allOf": [ { "$ref": "#/definitions/vipordermod.OrderType" } ] }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "startTime": { "description": "创建时间-开始", "type": "string" }, "status": { "description": "订单状态", "allOf": [ { "$ref": "#/definitions/pubdef.VipOrderStatus" } ] }, "tradeNo": { "description": "订单号", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" } } }, "srv_viporder.VipOrderResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/vipordermod.VipOrder" } }, "total": { "type": "integer" } } }, "translationcategorymod.TranslationCategory": { "type": "object", "properties": { "categoryType": { "description": "导航类型 1:url 2:二级导航 3:底部导航", "allOf": [ { "$ref": "#/definitions/pubdef.TranslationType" } ] }, "createdAt": { "description": "创建时间", "type": "string" }, "icon": { "description": "Icon", "type": "string" }, "id": { "description": "Id", "type": "integer" }, "name": { "description": "分类名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "updatedAt": { "description": "更新时间", "type": "string" }, "urlValue": { "description": "跳转URL", "type": "string" } } }, "translationmod.TranslationInfo": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "htmlId": { "description": "富文本ID", "type": "integer" }, "id": { "description": "Id", "type": "integer" }, "isFriendAds": { "description": "是否是友链广告位", "type": "boolean" }, "link": { "description": "外部跳转", "type": "string" }, "name": { "description": "分类名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "transCategoryId": { "description": "导航分类", "type": "integer" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "usermod.User": { "type": "object", "properties": { "accountNo": { "description": "账号", "type": "string" }, "age": { "description": "年龄", "type": "integer" }, "agentInviteCode": { "description": "被邀请的inviteCode", "type": "string" }, "appVer": { "description": "app版本", "type": "string" }, "auth": { "description": "是否认证", "type": "boolean" }, "avatar": { "description": "头像", "type": "string" }, "backgroud": { "description": "背景图", "type": "string" }, "consecutiveLogin": { "description": "连续登陆天数", "type": "integer" }, "consumptionTotal": { "description": "金币总消费数量", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "currentVipExpire": { "description": "当前vip过期时间", "type": "string" }, "devID": { "description": "设备唯一标示", "type": "string" }, "devV2": { "description": "设备唯一设备ID", "type": "string" }, "device": { "description": "设备", "type": "string" }, "deviceBrand": { "description": "设备品牌", "type": "string" }, "deviceModel": { "description": "设备型号", "type": "string" }, "districtCode": { "description": "商区码", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "gender": { "description": "性别 0-未知,1-男,2-女", "type": "integer" }, "id": { "description": "ID", "type": "integer" }, "introduction": { "description": "简介", "type": "string" }, "inviteCode": { "description": "邀请码", "type": "string" }, "invites": { "description": "我邀请的人的个数(我邀请他人)", "type": "integer" }, "isRegister": { "description": "是否已注册", "type": "boolean" }, "lastIp": { "description": "上次登陆IP", "type": "string" }, "lastLoginAt": { "description": "上次登陆时间", "type": "string" }, "loginType": { "description": "登陆方式", "allOf": [ { "$ref": "#/definitions/pubdef.LoginType" } ] }, "mac": { "description": "设备唯一mac地址", "type": "string" }, "merchantExpiredAt": { "description": "历史遗留字段", "type": "string" }, "modifyUserNameAt": { "description": "上一次修改用户时间", "type": "string" }, "nickName": { "description": "昵称", "type": "string" }, "oriVer": { "description": "注册时的app版本", "type": "string" }, "password": { "description": "登陆密码", "type": "string" }, "privacyMode": { "description": "隐私模式:true-开启,false-关闭(默认)", "type": "boolean" }, "recharge": { "description": "当前充值余额,金币个数", "type": "integer" }, "rechargeTotal": { "description": "累计充值额,金币个数", "type": "integer" }, "regIp": { "description": "注册IP", "type": "string" }, "region": { "description": "地区", "type": "string" }, "registerTime": { "type": "string" }, "score": { "description": "积分", "type": "integer" }, "scoreInvites": { "description": "邀请人获得的积分累计", "type": "integer" }, "scoreLvName": { "description": "积分等级名称", "type": "string" }, "scoreTotal": { "description": "累计积分", "type": "integer" }, "sessionId": { "description": "会话ID", "type": "string" }, "showCardId": { "description": "最新会员卡id", "type": "integer" }, "showCardName": { "description": "最新会员卡名称", "type": "string" }, "status": { "description": "状态", "allOf": [ { "$ref": "#/definitions/pubdef.UserStatus" } ] }, "sysMsgAt": { "description": "获取系统消息时间", "type": "string" }, "sysType": { "description": "系统类型 ios android", "type": "string" }, "systemName": { "description": "系统名称", "type": "string" }, "systemVersion": { "description": "系统版本", "type": "string" }, "type": { "description": "类型", "allOf": [ { "$ref": "#/definitions/pubdef.UserType" } ] }, "updatedAt": { "description": "更新时间", "type": "string" }, "vipType": { "description": "Vip类型", "allOf": [ { "$ref": "#/definitions/pubdef.VipType" } ] } } }, "usermod.UserUpdate": { "type": "object", "properties": { "accountNo": { "description": "账号", "type": "string" }, "age": { "description": "年龄", "type": "integer" }, "agentInviteCode": { "description": "被邀请的inviteCode", "type": "string" }, "appVer": { "description": "app版本", "type": "string" }, "auth": { "description": "是否认证", "type": "boolean" }, "avatar": { "description": "头像", "type": "string" }, "backgroud": { "description": "背景图", "type": "string" }, "consecutiveLogin": { "description": "连续登陆天数", "type": "integer" }, "consumptionTotal": { "description": "金币总消费数量", "type": "integer" }, "currentVipExpire": { "description": "当前vip过期时间", "type": "string" }, "devID": { "description": "设备唯一标示", "type": "string" }, "devV2": { "description": "设备唯一设备ID", "type": "string" }, "device": { "description": "设备", "type": "string" }, "deviceBrand": { "description": "设备品牌", "type": "string" }, "deviceModel": { "description": "设备型号", "type": "string" }, "districtCode": { "description": "商区码", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "gender": { "description": "性别 0-未知,1-男,2-女", "type": "integer" }, "introduction": { "description": "简介", "type": "string" }, "inviteCode": { "description": "邀请码", "type": "string" }, "invites": { "description": "我邀请的人的个数(我邀请他人)", "type": "integer" }, "isRegister": { "description": "是否已注册", "type": "boolean" }, "lastIp": { "description": "上次登陆IP", "type": "string" }, "lastLoginAt": { "description": "上次登陆时间", "type": "string" }, "loginType": { "description": "登陆方式", "allOf": [ { "$ref": "#/definitions/pubdef.LoginType" } ] }, "mac": { "description": "设备唯一mac地址", "type": "string" }, "merchantExpiredAt": { "description": "商家/兼职有效期", "type": "string" }, "modifyUserNameAt": { "description": "上一次修改用户时间", "type": "string" }, "nickName": { "description": "昵称", "type": "string" }, "oriVer": { "description": "注册时的app版本", "type": "string" }, "password": { "description": "登陆密码", "type": "string" }, "recharge": { "description": "当前充值余额,金币个数", "type": "integer" }, "rechargeTotal": { "description": "累计充值额,金币个数", "type": "integer" }, "regIp": { "description": "注册IP", "type": "string" }, "region": { "description": "地区", "type": "string" }, "registerTime": { "type": "string" }, "score": { "description": "积分", "type": "integer" }, "scoreInvites": { "description": "邀请人获得的积分累计", "type": "integer" }, "scoreLvName": { "description": "积分等级名称", "type": "string" }, "scoreTotal": { "description": "累计积分", "type": "integer" }, "sessionId": { "description": "会话ID", "type": "string" }, "showCardId": { "description": "最新会员卡id", "type": "integer" }, "showCardName": { "description": "最新会员卡名称", "type": "string" }, "status": { "description": "状态", "allOf": [ { "$ref": "#/definitions/pubdef.UserStatus" } ] }, "sysMsgAt": { "description": "获取系统消息时间", "type": "string" }, "sysType": { "description": "系统类型 ios android", "type": "string" }, "systemName": { "description": "系统名称", "type": "string" }, "systemVersion": { "description": "系统版本", "type": "string" }, "type": { "description": "类型", "allOf": [ { "$ref": "#/definitions/pubdef.UserType" } ] }, "updatedAt": { "description": "更新时间", "type": "string" }, "vipType": { "description": "Vip类型", "allOf": [ { "$ref": "#/definitions/pubdef.VipType" } ] } } }, "videocategorymod.VideoCategory": { "type": "object", "properties": { "contentType": { "description": "内容:0: 默认 1:首页 2:今日 3:合集", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "描述", "type": "string" }, "id": { "description": "Id", "type": "integer" }, "indexNow": { "description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改", "type": "integer" }, "name": { "description": "分类名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sortType": { "description": "排序方式 0:上线时间 1:观看次数 2排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "APP显示", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "videocreatermod.VideoCreaterInfo": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "id": { "type": "integer" }, "indexNow": { "description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改", "type": "integer" }, "name": { "description": "帖子标题", "type": "string" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "videoinformationmod.FakeFlow": { "type": "object", "properties": { "watchTimes": { "description": "假观看次数", "type": "integer" } } }, "videoinformationmod.Flow": { "type": "object", "properties": { "comments": { "description": "评论条数", "type": "integer" }, "monthWatchs": { "description": "本月观看次数", "type": "integer" }, "showTimes": { "description": "展示次数", "type": "integer" }, "todayWatchs": { "description": "当日观看次数", "type": "integer" }, "watchTimes": { "description": "观看次数", "type": "integer" }, "weekWatchs": { "description": "本周观看次数", "type": "integer" } } }, "videoinformationmod.HevcStatus": { "type": "integer", "enum": [ 0, 1, 2, -1 ], "x-enum-comments": { "HevcStatusFailed": "转码失败", "HevcStatusNone": "未提交转码", "HevcStatusPending": "转码中", "HevcStatusSuccess": "转码成功" }, "x-enum-varnames": [ "HevcStatusNone", "HevcStatusPending", "HevcStatusSuccess", "HevcStatusFailed" ] }, "videoinformationmod.InformationSatus": { "type": "integer", "enum": [ 0, 1, 2 ], "x-enum-comments": { "InformationSatusVerifyCancel": "下架", "InformationSatusVerifyOK": "上架", "InformationSatusWaiting": "初始化" }, "x-enum-varnames": [ "InformationSatusWaiting", "InformationSatusVerifyOK", "InformationSatusVerifyCancel" ] }, "videoinformationmod.MediaType": { "type": "integer", "enum": [ 0, 1, 2, 3 ], "x-enum-comments": { "MediaType_Advitise": "广告", "MediaType_Collection": "合集", "MediaType_Video": "视频(帖子)", "MediaType_VideoV2": "视频" }, "x-enum-varnames": [ "MediaType_Video", "MediaType_Collection", "MediaType_Advitise", "MediaType_VideoV2" ] }, "videoinformationmod.Node": { "type": "object", "properties": { "images": { "description": "图片", "type": "array", "items": { "type": "string" } }, "nodeId": { "description": "节点ID", "type": "string" }, "text": { "description": "文本", "type": "string" }, "title": { "description": "节点标题", "type": "string" }, "url": { "description": "链接", "type": "string" }, "videos": { "description": "视频信息列表", "type": "array", "items": { "$ref": "#/definitions/videoinformationmod.VideoInfo" } } } }, "videoinformationmod.VideoInfo": { "type": "object", "properties": { "cover": { "description": "视频封面", "type": "string" }, "fileId": { "description": "媒资库ID", "type": "string" }, "h265Url": { "description": "H265 视频地址", "type": "string" }, "height": { "description": "分辨率高(视频才会存在)", "type": "integer" }, "preMp4FileNameFs": { "description": "预览MP4文件", "type": "string" }, "taskId": { "description": "视频ID(视频才会存在)", "type": "string" }, "unencryptedPreMp4": { "description": "不加密的预览MP4", "type": "string" }, "url": { "description": "视频URl", "type": "string" }, "videoTime": { "description": "影片长度", "type": "integer" }, "width": { "description": "分辨率宽(视频才会存在)", "type": "integer" } } }, "videoinformationmod.VideoInformation": { "type": "object", "properties": { "addedTime": { "description": "帖子上架时间", "type": "string" }, "audioFile": { "description": "音频文件路径", "type": "string" }, "categoryIds": { "description": "分类Id (帖子用)", "type": "array", "items": { "type": "integer" } }, "content": { "description": "富文本", "type": "string" }, "coverImg": { "description": "封面", "type": "string" }, "createdAt": { "description": "创建时间", "type": "string" }, "creatorId": { "description": "作者Id", "type": "integer" }, "creatorName": { "description": "作者名称", "type": "string" }, "desc": { "description": "详细描述", "type": "string" }, "fake": { "description": "伪造流量", "allOf": [ { "$ref": "#/definitions/videoinformationmod.FakeFlow" } ] }, "firstTag": { "description": "一级标签", "type": "string" }, "hevcFailCount": { "description": "主视频转码累计失败次数", "type": "integer" }, "hevcMetaInfo": { "description": "H265 视频元信息", "allOf": [ { "$ref": "#/definitions/videoinformationmod.VideoMetaInfo" } ] }, "hevcStatus": { "description": "主视频 H265 转码状态", "allOf": [ { "$ref": "#/definitions/videoinformationmod.HevcStatus" } ] }, "id": { "type": "integer" }, "indexNow": { "description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改", "type": "integer" }, "isHot": { "description": "是否热门", "type": "boolean" }, "isTop": { "description": "是否置顶", "type": "boolean" }, "keyworld": { "description": "关键字", "type": "array", "items": { "type": "string" } }, "mediaType": { "description": "资源类型", "allOf": [ { "$ref": "#/definitions/videoinformationmod.MediaType" } ] }, "nodes": { "description": "节点", "type": "array", "items": { "$ref": "#/definitions/videoinformationmod.Node" } }, "optionAccount": { "description": "最后操作人", "type": "string" }, "pageUpdatedAt": { "description": "页面展示更新时间", "type": "string" }, "previewVtt": { "description": "雪碧图 vtt", "type": "string" }, "real": { "description": "真实流量", "allOf": [ { "$ref": "#/definitions/videoinformationmod.Flow" } ] }, "remark": { "description": "备注", "type": "string" }, "secondTags": { "description": "二级标签标签", "type": "array", "items": { "type": "string" } }, "secondUpdatedAt": { "description": "二次修改时间", "type": "string" }, "smartCover": { "description": "智能封面", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "帖子上架状态", "allOf": [ { "$ref": "#/definitions/videoinformationmod.InformationSatus" } ] }, "syncId": { "description": "同步ID", "type": "string" }, "tags": { "description": "标签", "type": "array", "items": { "type": "integer" } }, "title": { "description": "帖子标题", "type": "string" }, "topicIds": { "description": "专题ID(视频用)", "type": "array", "items": { "type": "integer" } }, "unencryptedImage": { "description": "不加密封面", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "uploadUserName": { "description": "上传用户名", "type": "string" }, "video": { "description": "视频", "allOf": [ { "$ref": "#/definitions/videoinformationmod.VideoInfo" } ] }, "videoCount": { "description": "合集视频数量", "type": "integer" } } }, "videoinformationmod.VideoMetaInfo": { "type": "object", "properties": { "audioBitrate": { "type": "integer" }, "audioChannels": { "type": "integer" }, "audioCodec": { "type": "string" }, "audioSampleRate": { "type": "integer" }, "bitrate": { "type": "integer" }, "codec": { "type": "string" }, "duration": { "type": "number" }, "fps": { "type": "number" }, "height": { "type": "integer" }, "m3u8Url": { "type": "string" }, "pixFmt": { "type": "string" }, "profile": { "type": "string" }, "size": { "type": "integer" }, "videoBitrate": { "type": "integer" }, "width": { "type": "integer" } } }, "videotagmod.VideoTagInfo": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "id": { "type": "integer" }, "indexNow": { "description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "帖子标题", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "watchTimes": { "description": "预计算:该标签下所有视频的累计播放量", "type": "integer" } } }, "videotopicmod.VideoTopicModel": { "type": "object", "properties": { "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "描述", "type": "string" }, "id": { "description": "Id", "type": "integer" }, "image": { "description": "背景", "type": "string" }, "indexNow": { "description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改", "type": "integer" }, "name": { "description": "专题名称", "type": "string" }, "rank": { "description": "排序", "type": "integer" }, "seoInfo": { "description": "Seo相关信息", "allOf": [ { "$ref": "#/definitions/pubdef.SeoValue" } ] }, "status": { "description": "上架状态", "type": "boolean" }, "title": { "description": "APP显示", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "videoCategoryId": { "description": "视频分类id", "type": "integer" }, "videoTopicType": { "description": "视频类型", "allOf": [ { "$ref": "#/definitions/videoinformationmod.MediaType" } ] }, "works": { "description": "作品数", "type": "integer" } } }, "vipordermod.OrderType": { "type": "integer", "enum": [ 1, 2 ], "x-enum-comments": { "OrderTypeCoin": "金币购买", "OrderTypeVip": "会员购买" }, "x-enum-varnames": [ "OrderTypeVip", "OrderTypeCoin" ] }, "vipordermod.VipOrder": { "type": "object", "properties": { "amount": { "description": "支付金额(分)", "type": "integer" }, "cardId": { "description": "── VIP 专用 ──", "type": "integer" }, "cardName": { "description": "套餐名快照", "type": "string" }, "coin": { "description": "到账金币数(快照)", "type": "integer" }, "coinCfgId": { "description": "── 金币专用 ──", "type": "integer" }, "createdAt": { "description": "创建时间", "type": "string" }, "finishedAt": { "description": "完成时间", "type": "string" }, "id": { "description": "唯一ID", "type": "integer" }, "ipAddr": { "description": "客户端 IP", "type": "string" }, "oid": { "description": "第三方订单号", "type": "string" }, "orderType": { "description": "订单类型:1会员 2金币", "allOf": [ { "$ref": "#/definitions/vipordermod.OrderType" } ] }, "payChannel": { "description": "支付渠道", "type": "string" }, "payMode": { "description": "支付方式:overage/alipay/wechat", "type": "string" }, "payRate": { "description": "费率", "type": "string" }, "payUrl": { "description": "支付链接", "type": "string" }, "payUrlMode": { "description": "链接打开方式", "type": "string" }, "status": { "description": "订单状态", "allOf": [ { "$ref": "#/definitions/pubdef.VipOrderStatus" } ] }, "sysType": { "description": "ios/android", "type": "string" }, "tradeNo": { "description": "本地订单号", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" } } }, "web_acc.AccOpLogReq": { "type": "object", "properties": { "actId": { "description": "操作人Id", "type": "integer" }, "action": { "description": "操作目的", "type": "string" }, "endTime": { "description": "开始时间", "type": "string" }, "pageNum": { "description": "页码", "type": "integer" }, "pageSize": { "type": "integer" }, "path": { "description": "请求接口", "type": "string" }, "startTime": { "description": "开始时间", "type": "string" } } }, "web_acc.AccOpLogResp": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/srv_acc.OpLogInfo" } }, "total": { "type": "integer" } } }, "web_acc.BindQurlReq": { "type": "object", "properties": { "acc": { "description": "账户", "type": "string" } } }, "web_acc.BindQurlResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MainWebLoginReq": { "type": "object", "properties": { "acc": { "description": "账户", "type": "string" }, "code": { "description": "验证码", "type": "string" }, "pwd": { "description": "密码", "type": "string" } } }, "web_acc.MainWebLoginResp": { "type": "object", "properties": { "acc": { "description": "账户", "type": "string" }, "accId": { "description": "账户id", "type": "integer" }, "qurl": { "description": "二维码", "type": "array", "items": { "type": "integer" } }, "roleId": { "description": "角色id", "type": "integer" }, "token": { "description": "token", "type": "string" } } }, "web_acc.MwAccAddReq": { "type": "object", "properties": { "acc": { "description": "账户", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "isEnb": { "description": "使能", "type": "boolean" }, "limitIP": { "description": "允许访问的IP", "type": "array", "items": { "type": "string" } }, "name": { "description": "名称", "type": "string" }, "pwd": { "description": "密码", "type": "string" }, "roleId": { "description": "角色ID", "type": "integer" } } }, "web_acc.MwAccAddResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwAccDelReq": { "type": "object", "properties": { "id": { "description": "账号Id", "type": "integer" } } }, "web_acc.MwAccDelResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwAccGetInfoReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" } } }, "web_acc.MwAccGetInfoResp": { "type": "object", "properties": { "acc": { "description": "账号", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "id": { "description": "账号Id", "type": "integer" }, "isEnb": { "description": "使能", "type": "boolean" }, "limitIP": { "description": "允许访问的IP", "type": "array", "items": { "type": "string" } }, "pwd": { "description": "密码", "type": "string" }, "roleId": { "description": "角色Id", "type": "integer" }, "userName": { "description": "用户名", "type": "string" } } }, "web_acc.MwAccGetStatusReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" } } }, "web_acc.MwAccGetStatusResp": { "type": "object", "properties": { "feedBack": { "description": "禁用原因", "type": "string" }, "id": { "description": "账号Id", "type": "integer" }, "isEnb": { "description": "使能", "type": "boolean" }, "userName": { "description": "用户名", "type": "string" } } }, "web_acc.MwAccListReq": { "type": "object", "properties": { "keyWords": { "description": "搜索条件", "type": "string" }, "pageNum": { "type": "integer" }, "pageSize": { "type": "integer" }, "status": { "description": "状态 1正常 2 禁用", "type": "integer" } } }, "web_acc.MwAccListResp": { "type": "object", "properties": { "accRec": { "description": "当前页配置记录", "type": "array", "items": { "$ref": "#/definitions/web_acc.MwAccRec" } }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "web_acc.MwAccRec": { "type": "object", "properties": { "acc": { "description": "账号", "type": "string" }, "createdAt": { "description": "创建时间", "type": "integer" }, "email": { "description": "邮箱", "type": "string" }, "feedBack": { "description": "禁用原因", "type": "string" }, "id": { "description": "账号Id", "type": "integer" }, "isBase32": { "description": "// 二步签名\nBase32 string `json:\"base32\"`\n是否已签名", "type": "boolean" }, "isEnb": { "description": "使能", "type": "boolean" }, "limitIP": { "description": "允许访问的IP", "type": "array", "items": { "type": "string" } }, "pwd": { "description": "密码", "type": "string" }, "roleId": { "description": "角色Id", "type": "integer" }, "roleName": { "description": "角色名", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "integer" }, "userName": { "description": "用户名", "type": "string" } } }, "web_acc.MwAccSaveStatusReq": { "type": "object", "properties": { "feedBack": { "description": "禁用原因", "type": "string" }, "id": { "description": "账号Id", "type": "integer" }, "isEnb": { "description": "使能", "type": "boolean" }, "userName": { "description": "用户名", "type": "string" } } }, "web_acc.MwAccSaveStatusResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwAccUpPwdReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "description": "账号Id", "type": "integer" }, "pwd": { "description": "密码", "type": "string" } } }, "web_acc.MwAccUpReq": { "type": "object", "properties": { "acc": { "description": "账号", "type": "string" }, "email": { "description": "邮箱", "type": "string" }, "id": { "description": "账号Id", "type": "integer" }, "isEnb": { "description": "使能", "type": "boolean" }, "limitIP": { "description": "允许访问的IP", "type": "array", "items": { "type": "string" } }, "pwd": { "description": "密码", "type": "string" }, "roleId": { "description": "角色Id", "type": "integer" }, "userName": { "description": "用户名", "type": "string" } } }, "web_acc.MwAccUpResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwRoleAddReq": { "type": "object", "properties": { "desc": { "description": "描述", "type": "string" }, "isEnb": { "description": "状态", "type": "boolean" }, "name": { "description": "名称", "type": "string" } } }, "web_acc.MwRoleAddResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwRoleDelReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" } } }, "web_acc.MwRoleDelResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwRoleDrop": { "type": "object", "properties": { "id": { "description": "角色Id", "type": "integer" }, "name": { "description": "角色名称", "type": "string" } } }, "web_acc.MwRoleDropResp": { "type": "object", "properties": { "roleDrop": { "description": "是否成功 true:成功 false:未成功", "type": "array", "items": { "$ref": "#/definitions/web_acc.MwRoleDrop" } } } }, "web_acc.MwRoleEnableReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" }, "isEnb": { "description": "状态", "type": "boolean" } } }, "web_acc.MwRoleEnableResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwRoleGetAuthReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" } } }, "web_acc.MwRoleGetAuthResp": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" }, "router": { "type": "array", "items": { "$ref": "#/definitions/web_acc.Router" } } } }, "web_acc.MwRoleGetInfoReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" } } }, "web_acc.MwRoleGetInfoResp": { "type": "object", "properties": { "roleRec": { "$ref": "#/definitions/web_acc.MwRoleRec" } } }, "web_acc.MwRoleListResp": { "type": "object", "properties": { "roleRecs": { "description": "当前页配置记录", "type": "array", "items": { "$ref": "#/definitions/web_acc.MwRoleRec" } }, "totalCount": { "description": "总共数量", "type": "integer" } } }, "web_acc.MwRoleRec": { "type": "object", "properties": { "apiMenus": { "description": "已有权限的api", "type": "array", "items": { "type": "string" } }, "createdAt": { "description": "创建时间", "type": "string" }, "desc": { "description": "描述", "type": "string" }, "id": { "description": "角色Id", "type": "integer" }, "isEnb": { "description": "是否启用 false:禁用 true:启用", "type": "boolean" }, "name": { "description": "角色名称", "type": "string" }, "updatedAt": { "description": "更新时间", "type": "string" } } }, "web_acc.MwRoleUpAuthReq": { "type": "object", "properties": { "id": { "description": "角色id", "type": "integer" }, "router": { "type": "array", "items": { "$ref": "#/definitions/web_acc.Router" } } } }, "web_acc.MwRoleUpAuthResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.MwRoleUpReq": { "type": "object", "properties": { "desc": { "description": "描述", "type": "string" }, "id": { "description": "角色id", "type": "integer" }, "isEnb": { "description": "状态", "type": "boolean" }, "name": { "description": "名称", "type": "string" } } }, "web_acc.MwRoleUpResp": { "type": "object", "properties": { "result": { "description": "是否成功 true:成功 false:未成功", "type": "boolean" } } }, "web_acc.Router": { "type": "object", "properties": { "apiUrl": { "type": "array", "items": { "$ref": "#/definitions/web_acc.Router_ApiUrl" } }, "children": { "type": "array", "items": { "$ref": "#/definitions/web_acc.Router" } }, "component": { "type": "string" }, "hidden": { "type": "boolean" }, "isShow": { "type": "boolean" }, "meta": { "$ref": "#/definitions/web_acc.Router_Meta" }, "name": { "type": "string" }, "path": { "type": "string" }, "redirect": { "type": "string" } } }, "web_acc.Router_ApiUrl": { "type": "object", "properties": { "desc": { "type": "string" }, "method": { "type": "array", "items": { "type": "string" } }, "status": { "type": "boolean" }, "url": { "type": "array", "items": { "type": "string" } } } }, "web_acc.Router_Meta": { "type": "object", "properties": { "icon": { "type": "string" }, "noCache": { "type": "boolean" }, "title": { "type": "string" } } }, "web_cfg.GetSysConfigReq": { "type": "object" }, "web_cfg.GetSysConfigResp": { "type": "object", "properties": { "actressBackGround": { "description": "女优通用背景图", "type": "string" }, "advitiesTopicNum": { "description": "广告间隔", "type": "integer" }, "appAddr": { "description": "APP下载地址(落地页)", "type": "string" }, "channelCode": { "description": "渠道码", "type": "string" }, "customerServiceHost": { "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" }, "id": { "type": "integer" }, "imgAppCdn": { "description": "图片CDN(app使用)", "type": "string" }, "imgAppUsCdn": { "description": "图片CDN(海外app使用)", "type": "string" }, "imgWebCdn": { "description": "图片CDN(web使用)", "type": "string" }, "mediaAppCdn": { "description": "视频CDN(app使用)", "type": "string" }, "mediaAppUsCdn": { "description": "视频CDN(海外app使用)", "type": "string" }, "mediaWebCdn": { "description": "视频CDN(web使用)", "type": "string" }, "mp4Addr": { "description": "mp4地址(web使用)", "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" }, "sitemapDefaultImages": { "description": "Sitemap里面默认封面图", "type": "array", "items": { "type": "string" } }, "telegram": { "description": "商务tg", "type": "string" }, "telegramAdd": { "description": "加入我们tg", "type": "string" }, "tgGroup": { "description": "tg群", "type": "string" }, "translationAddr": { "description": "应用导航", "type": "string" }, "twitterAddr": { "description": "推特地址", "type": "string" }, "unencryptedCdn": { "description": "不加密资源使用的cdn", "type": "string" }, "useAddress": { "description": "所有使用中的域名", "type": "array", "items": { "type": "string" } }, "watermarkImage": { "description": "图片水印文件", "type": "string" }, "watermarkMedia": { "description": "视频水印文件(底部)", "type": "string" }, "watermarkMediaTop": { "description": "视频水印文件(顶部)", "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" } } }, "web_cfg.SysConfigUpdateReq": { "type": "object", "properties": { "actressBackGround": { "description": "女优通用背景图", "type": "string" }, "advitiesTopicNum": { "description": "广告间隔", "type": "integer" }, "appAddr": { "description": "APP下载地址(落地页)", "type": "string" }, "channelCode": { "description": "渠道码", "type": "string" }, "dhDescription": { "description": "导航SEO描述", "type": "string" }, "dhKeyworld": { "description": "导航SEO关键字", "type": "array", "items": { "type": "string" } }, "dhNewUrlAddr1": { "description": "导航页-线路一", "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" }, "imgAppCdn": { "description": "图片CDN(app使用)", "type": "string" }, "imgAppUsCdn": { "description": "图片CDN(海外app使用)", "type": "string" }, "imgWebCdn": { "description": "图片CDN(web使用)", "type": "string" }, "mediaAppCdn": { "description": "视频CDN(app使用)", "type": "string" }, "mediaAppUsCdn": { "description": "视频CDN(海外app使用)", "type": "string" }, "mediaWebCdn": { "description": "视频CDN(web使用)", "type": "string" }, "mp4Addr": { "description": "mp4地址(web使用)", "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" }, "sitemapDefaultImages": { "description": "Sitemap里面默认封面图", "type": "array", "items": { "type": "string" } }, "telegram": { "description": "商务tg", "type": "string" }, "telegramAdd": { "description": "加入我们tg", "type": "string" }, "tgGroup": { "description": "tg群", "type": "string" }, "translationAddr": { "description": "应用导航", "type": "string" }, "twitterAddr": { "description": "推特地址", "type": "string" }, "unencryptedCdn": { "description": "不加密资源使用的cdn", "type": "string" }, "useAddress": { "description": "所有使用中的域名", "type": "array", "items": { "type": "string" } }, "watermarkImage": { "description": "图片水印文件", "type": "string" }, "watermarkMedia": { "description": "视频水印文件(底部)", "type": "string" }, "watermarkMediaTop": { "description": "视频水印文件(顶部)", "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" } } }, "web_cfg.SysConfigUpdateResp": { "type": "object" }, "web_commend.CommendDelIpReq": { "type": "object", "properties": { "ip": { "type": "string" } } }, "web_commend.CommendDelReq": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer" } } }, "web_commend.CommendReviewBatchReq": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "integer" } }, "reviewStatus": { "type": "integer" } } }, "web_file.UploadImageResp": { "type": "object", "properties": { "path": { "type": "string" } } }, "web_file.UploadImagesResp": { "type": "object", "properties": { "paths": { "type": "array", "items": { "type": "string" } } } }, "webanalytics.AnalyticsDailyStat": { "type": "object", "properties": { "list": { "description": "当月数据", "type": "array", "items": { "$ref": "#/definitions/webanalytics.LastWebStatInfo" } } } }, "webanalytics.AnalyticsStat": { "type": "object", "properties": { "todayList": { "description": "当日数据", "type": "array", "items": { "$ref": "#/definitions/webanalytics.LastWebStatInfo" } }, "weekList": { "description": "环比数据", "type": "array", "items": { "$ref": "#/definitions/webanalytics.LastWebStatInfo" } }, "yestodayList": { "description": "同比数据", "type": "array", "items": { "$ref": "#/definitions/webanalytics.LastWebStatInfo" } } } }, "webanalytics.LastWebStatInfo": { "type": "object", "properties": { "activeUsers": { "description": "最近半小时活跃数", "type": "integer" }, "appId": { "description": "appId", "type": "integer" }, "appName": { "description": "APP名称", "type": "string" }, "leadAmount": { "description": "日导量充值", "type": "number" }, "leadNewCount": { "description": "日导量新增", "type": "number" }, "sumDate": { "description": "时间半小时", "type": "string" }, "yestodayActiveUsers": { "description": "活跃用户数", "type": "integer" }, "yestodayNewUsers": { "description": "新增数量", "type": "integer" }, "yestodayPV": { "description": "页面浏览量 (PV)", "type": "integer" }, "yestodaySessions": { "description": "会话数", "type": "integer" }, "yestodayUV": { "description": "独立用户数 (UV)", "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" } } } }