Files
2026-10-27 16:44:55 +08:00

12041 lines
395 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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/announcement/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_announcement.AddAnnouncementReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "获取失败的返回结果",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/announcement/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_announcement.DelAnnouncementReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "获取失败的返回结果",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/announcement/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_announcement.GetAnnouncementListReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/srv_announcement.GetAnnouncementListResp"
}
},
"400": {
"description": "获取失败的返回结果",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/announcement/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_announcement.UpdateAnnouncementReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "获取失败的返回结果",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/card/order/district/sync": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "将历史订单中空的渠道码,按用户当前 districtCode 回填。可重复调用,hasMore 为 true 时继续请求。",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员卡管理"
],
"summary": "同步历史订单渠道码",
"parameters": [
{
"description": "同步参数",
"name": "param",
"in": "body",
"schema": {
"$ref": "#/definitions/srv_viporder.SyncDistrictCodeReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/srv_viporder.SyncDistrictCodeResp"
}
},
"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/home/banner/add": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页banner相关接口"
],
"summary": "新增首页banner -- by 王鸣",
"parameters": [
{
"description": "新增首页banner请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeBannerAddReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.HomeBannerAddResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/banner/del": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页banner相关接口"
],
"summary": "删除首页banner -- by 王鸣",
"parameters": [
{
"description": "删除首页banner请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeBannerDelReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/banner/list": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "分页查询首页banner配置",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页banner相关接口"
],
"summary": "首页banner列表 -- by 王鸣",
"parameters": [
{
"type": "integer",
"description": "首页 banner ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "名称,支持模糊查询",
"name": "name",
"in": "query"
},
{
"type": "integer",
"description": "页码,默认1",
"name": "pageNum",
"in": "query"
},
{
"type": "integer",
"description": "每页数量,默认10,最大100",
"name": "pageSize",
"in": "query"
},
{
"type": "boolean",
"description": "状态 true-启用 false-停用",
"name": "status",
"in": "query"
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.HomeBannerListPageResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/banner/update": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页banner相关接口"
],
"summary": "更新首页banner -- by 王鸣",
"parameters": [
{
"description": "更新首页banner请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeBannerUpdateReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/config/add": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页配置相关接口"
],
"summary": "新增首页配置 -- by 王鸣",
"parameters": [
{
"description": "新增首页配置请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeConfigAddReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.HomeConfigAddResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/config/del": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页配置相关接口"
],
"summary": "删除首页配置 -- by 王鸣",
"parameters": [
{
"description": "删除首页配置请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeConfigDelReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/config/list": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "分页查询首页配置",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页配置相关接口"
],
"summary": "首页配置列表 -- by 王鸣",
"parameters": [
{
"type": "integer",
"description": "首页配置ID",
"name": "id",
"in": "query"
},
{
"type": "string",
"description": "名称,支持模糊查询",
"name": "name",
"in": "query"
},
{
"type": "integer",
"description": "页码,默认1",
"name": "pageNum",
"in": "query"
},
{
"type": "integer",
"description": "每页数量,默认10,最大100",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "slug,精确匹配",
"name": "slug",
"in": "query"
},
{
"type": "integer",
"description": "排序字段 1-推荐 2-热播 3-最近更新 4-新片预告 5-分类",
"name": "sortType",
"in": "query"
},
{
"type": "boolean",
"description": "上下架状态 true-上架 false-下架",
"name": "status",
"in": "query"
},
{
"type": "integer",
"description": "类型 1-短剧 3-题材",
"name": "type",
"in": "query"
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.HomeConfigListPageResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/home/config/update": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web首页配置相关接口"
],
"summary": "更新首页配置 -- by 王鸣",
"parameters": [
{
"description": "更新首页配置请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.HomeConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"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/category/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合批量更新 playlet 集合 categoryIds 字段,传1个ID表示单条设置,传多个ID表示批量设置;categoryIds 可为空,可设置多个分类,不传或空数组表示清空分类",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量设置短剧分类",
"parameters": [
{
"description": "单/批量设置短剧分类请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletCategorySetReq"
}
}
],
"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/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/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
],
"type": "integer",
"x-enum-comments": {
"StatusDown": "下架",
"StatusUp": "上架"
},
"x-enum-varnames": [
"StatusDown",
"StatusUp"
],
"description": "上架状态 0-下架 1-上架",
"name": "status",
"in": "query"
},
{
"enum": [
0,
1,
2,
3,
4
],
"type": "integer",
"x-enum-comments": {
"WatermarkStatusDone": "已完成",
"WatermarkStatusFailed": "处理失败",
"WatermarkStatusPending": "未处理(待 mediafile/sync)",
"WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)",
"WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)"
},
"x-enum-varnames": [
"WatermarkStatusPending",
"WatermarkStatusRegistered",
"WatermarkStatusProcessing",
"WatermarkStatusDone",
"WatermarkStatusFailed"
],
"name": "watermarkStatus",
"in": "query"
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletChapterListPageResp"
}
},
"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/status/fill": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "将未写 status 字段的历史剧集设为上架,发版后调用一次",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "回填历史剧集为上架",
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletChapterStatusFillResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/playlet/chapter/status/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据章节ID集合批量更新 playlet_chapter 集合 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.PlayletChapterStatusSetReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/playlet/chapter/sync": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合从媒资中心同步新增剧集,playletIds传1个表示单条同步,传多个表示批量同步,允许已完结短剧补集或修正状态",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端手动单/批量同步短剧剧集 --by 王鸣",
"parameters": [
{
"description": "手动单/批量同步短剧剧集请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletChapterSyncReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletChapterSyncResp"
}
},
"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/del": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合物理删除 playlet 与 playlet_chapter 记录;不删除点赞、收藏、评论、观看记录、解锁记录和支付流水",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量物理删除短剧",
"parameters": [
{
"description": "单/批量删除短剧请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletDelReq"
}
}
],
"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/like/virtual/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合批量更新 playlet 集合 virtualCountLike 字段,每条短剧从最小值和最大值之间随机取不重复数值入库",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量设置短剧虚拟点赞数 --by 王鸣",
"parameters": [
{
"description": "单/批量随机设置短剧虚拟点赞数请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletVirtualLikeSetReq"
}
}
],
"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": [
{
"type": "integer",
"description": "分类ID",
"name": "categoryId",
"in": "query"
},
{
"enum": [
0,
1,
2,
3,
4
],
"type": "integer",
"x-enum-comments": {
"ContentTypeAlbum": "普通短剧/影集(对应 media_type=6)",
"ContentTypeAnime": "动漫(对应 media_type=1)",
"ContentTypeComic": "漫画短剧(对应 media_type=4)",
"ContentTypeManga": "漫画(对应 media_type=2)",
"ContentTypeTheater": "短剧(对应 media_type=5)"
},
"x-enum-varnames": [
"ContentTypeTheater",
"ContentTypeAlbum",
"ContentTypeComic",
"ContentTypeAnime",
"ContentTypeManga"
],
"description": "0短剧 1普通短剧/影集 2漫画短剧 3动漫 4漫画",
"name": "contentType",
"in": "query"
},
{
"type": "integer",
"name": "id",
"in": "query"
},
{
"type": "boolean",
"description": "是否爆剧(true-是,false-否)",
"name": "isFeatured",
"in": "query"
},
{
"type": "boolean",
"description": "是否原创:true只查原创,false只查非原创,不传查全部",
"name": "isOriginal",
"in": "query"
},
{
"type": "boolean",
"description": "是否原创(推荐)",
"name": "isRecommend",
"in": "query"
},
{
"type": "string",
"description": "媒资来源:不传查全部;空字符串查普通媒资;hg 查黄果媒资",
"name": "mediaSource",
"in": "query"
},
{
"enum": [
1,
2
],
"type": "integer",
"x-enum-comments": {
"OperateTypeComic": "漫剧",
"OperateTypePlaylet": "短剧"
},
"x-enum-varnames": [
"OperateTypePlaylet",
"OperateTypeComic"
],
"description": "运营类型 1-短剧 2-漫剧",
"name": "operateType",
"in": "query"
},
{
"type": "string",
"description": "最后操作人名称",
"name": "operatorName",
"in": "query"
},
{
"type": "integer",
"name": "pageNum",
"in": "query"
},
{
"type": "integer",
"name": "pageSize",
"in": "query"
},
{
"enum": [
0,
1,
2
],
"type": "integer",
"x-enum-comments": {
"PayTypeCoin": "金币",
"PayTypeFree": "免费",
"PayTypeVip": "VIP"
},
"x-enum-varnames": [
"PayTypeFree",
"PayTypeCoin",
"PayTypeVip"
],
"description": "支付方式 0-免费 1-金币 2-VIP",
"name": "payType",
"in": "query"
},
{
"type": "boolean",
"name": "showOnBanner",
"in": "query"
},
{
"type": "string",
"description": "slug,精确匹配",
"name": "slug",
"in": "query"
},
{
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"type": "integer",
"x-enum-comments": {
"PlayletListSortCountBrowse": "浏览数",
"PlayletListSortCountCollect": "收藏数",
"PlayletListSortCountLike": "点赞数",
"PlayletListSortCreatedAt": "创建时间(默认)",
"PlayletListSortOnlineAt": "上架时间",
"PlayletListSortRecommendRank": "推荐排序",
"PlayletListSortUpdatedAt": "修改时间"
},
"x-enum-varnames": [
"PlayletListSortCreatedAt",
"PlayletListSortRecommendRank",
"PlayletListSortUpdatedAt",
"PlayletListSortCountLike",
"PlayletListSortCountBrowse",
"PlayletListSortCountCollect",
"PlayletListSortOnlineAt"
],
"description": "排序:0创建时间(默认) 1推荐排序(按分类查询时为该分类排序) 2修改时间 3点赞数 4浏览数 5收藏数 6上架时间,均为降序",
"name": "sortType",
"in": "query"
},
{
"enum": [
0,
1
],
"type": "integer",
"x-enum-comments": {
"StatusDown": "下架",
"StatusUp": "上架"
},
"x-enum-varnames": [
"StatusDown",
"StatusUp"
],
"description": "上架状态(0-下架 1-上架)",
"name": "status",
"in": "query"
},
{
"type": "integer",
"description": "标签ID",
"name": "tagId",
"in": "query"
},
{
"type": "integer",
"description": "题材id",
"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/online-at/fill": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "将已上架且上架时间为空的短剧,上架时间设置为该条修改时间",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "临时回填空上架时间",
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletOnlineAtFillResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/playlet/operate-type/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合批量更新 playlet 集合 operateType 字段,1-短剧 2-漫剧",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量设置短剧运营类型",
"parameters": [
{
"description": "单/批量设置短剧运营类型请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletOperateTypeSetReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/playlet/pay-type/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合批量更新 playlet 集合 payType/singleCoins;上架且连载中时,新增剧集默认沿用该设置",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量设置短剧默认支付方式",
"parameters": [
{
"description": "单/批量设置短剧默认支付方式请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletPayTypeSetReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"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/sales": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "按北京时间区间汇总金币解锁、短剧点赞、短剧收藏,最多返回前50条",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端短剧销售数据",
"parameters": [
{
"type": "string",
"description": "结束时间:2006-01-02 / 2006-01-02 15:04:05 / RFC3339",
"name": "endTime",
"in": "query"
},
{
"type": "integer",
"description": "短剧ID",
"name": "id",
"in": "query"
},
{
"enum": [
0,
1,
2
],
"type": "integer",
"x-enum-comments": {
"PlayletSalesSortCollect": "收藏数",
"PlayletSalesSortLike": "点赞数",
"PlayletSalesSortUnlock": "金币解锁次数"
},
"x-enum-varnames": [
"PlayletSalesSortUnlock",
"PlayletSalesSortLike",
"PlayletSalesSortCollect"
],
"description": "排序:0金币解锁次数 1点赞数 2收藏数",
"name": "sortType",
"in": "query"
},
{
"type": "string",
"description": "开始时间:2006-01-02 / 2006-01-02 15:04:05 / RFC3339",
"name": "startTime",
"in": "query"
},
{
"type": "string",
"description": "标题模糊匹配",
"name": "title",
"in": "query"
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletSalesResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/playlet/slug/sync": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "为题材、标签、分类、短剧、首页配置中空的 slug 按 SEO 关键词或名称自动生成。可重复调用,hasMore 为 true 时继续请求。",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "同步历史空 slug",
"parameters": [
{
"description": "同步参数",
"name": "param",
"in": "body",
"schema": {
"$ref": "#/definitions/proto.PlayletSlugSyncReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletSlugSyncResp"
}
},
"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": "string",
"description": "slug,精确匹配",
"name": "slug",
"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": "boolean",
"description": "是否推荐",
"name": "isRecommend",
"in": "query"
},
{
"type": "string",
"name": "name",
"in": "query"
},
{
"type": "integer",
"name": "pageNum",
"in": "query"
},
{
"type": "integer",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "slug,精确匹配",
"name": "slug",
"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/recommend/set": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据题材ID集合批量更新 playlet_theme 集合 isRecommend 字段",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端单/批量设置题材是否推荐",
"parameters": [
{
"description": "单/批量设置题材是否推荐请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletThemeRecommendSetReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
},
"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/playlet/watermark/reset": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "根据短剧ID集合,将其下全部剧集水印状态重置为未处理,并清空水印地址与 media 任务关联;原片地址不变,等待定时任务重新加水印",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web短剧相关接口"
],
"summary": "web端按短剧ID批量重置剧集水印",
"parameters": [
{
"description": "批量重置短剧水印请求",
"name": "params",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/proto.PlayletWatermarkResetReq"
}
}
],
"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/chapters": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "按媒资ID查询剧集信息,复用入库时的 mediaSync 接口",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web媒资库相关接口"
],
"summary": "web端短剧媒资剧集列表 -- by 王鸣",
"parameters": [
{
"type": "integer",
"description": "媒资中心资源ID",
"name": "id",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletResourceChapterListResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/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/jh/chapters": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "按媒资ID查询嘉华短剧剧集信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web媒资库相关接口"
],
"summary": "web端嘉华短剧媒资剧集列表 -- by 王鸣",
"parameters": [
{
"type": "integer",
"description": "媒资中心资源ID",
"name": "id",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/proto.PlayletResourceChapterListResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
},
"/api/web/resource/jh/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/jh/list": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "嘉华短剧媒资列表,固定查询 media_type=5,回填是否已入库,支持按 isAdd 筛选",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"web媒资库相关接口"
],
"summary": "web端嘉华短剧媒资列表 -- by 王鸣",
"parameters": [
{
"type": "boolean",
"description": "是否已入库:true只查已入库,false只查未入库,不传查全部",
"name": "isAdd",
"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.PlayletResourceJHListResp"
}
},
"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": "boolean",
"description": "是否已加入后台数据:true只查已加入,false只查未加入,不传查全部",
"name": "isAdd",
"in": "query"
},
{
"type": "integer",
"description": "媒体类型 1-动漫 2-漫画 4-漫画短剧 5-短剧 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/appkey": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "单独设置 sys_cfg.appKey,并刷新内存缓存",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"系统配置"
],
"summary": "设置媒资库 appKey",
"parameters": [
{
"description": "参数列表",
"name": "param",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/web_cfg.SetAppKeyReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/web_cfg.SetAppKeyResp"
}
},
"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/newpaycenter/recharge/callback": {
"post": {
"description": "校验商户号、MD5签名、金额及平台订单号,查单取得支付时间后按原流程入账;重复成功通知直接应答成功。",
"consumes": [
"application/json"
],
"produces": [
"text/plain"
],
"tags": [
"支付回调"
],
"summary": "新支付中心充值回调",
"parameters": [
{
"description": "支付中心签名回调",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/payCenter.RechargeCallbackResp"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"type": "string"
}
},
"400": {
"description": "fail",
"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/home-more/options": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "查询已上架、启用首页“更多”、URL模式且跳转路径非空的导航分类",
"produces": [
"application/json"
],
"tags": [
"导航分类"
],
"summary": "首页“更多”跳转目标下拉列表 -- by 王鸣",
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/srv_translationcategory.HomeMoreOption"
}
}
}
}
}
},
"/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/resetPassword": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "传入用户ID和明文密码,服务端按 app 登录相同规则哈希后写入",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户管理"
],
"summary": "重置用户密码",
"parameters": [
{
"description": "重置密码参数",
"name": "param",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/srv_user.ResetPasswordReq"
}
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"type": "string"
}
}
}
}
},
"/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"
}
}
}
}
},
"/wbapi/91djweb/recharge/summary": {
"get": {
"description": "按北京时间的开始/结束时间汇总支付成功订单金额与笔数",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"wbapi统计"
],
"summary": "统计充值汇总",
"parameters": [
{
"type": "string",
"description": "开始时间,北京时间,支持 2006-01-02、2006-01-02 15:04:05、RFC3339",
"name": "startTime",
"in": "query",
"required": true
},
{
"type": "string",
"description": "结束时间,北京时间,支持 2006-01-02、2006-01-02 15:04:05、RFC3339",
"name": "endTime",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "成功",
"schema": {
"$ref": "#/definitions/srv_viporder.RechargeSummaryResp"
}
},
"400": {
"description": "失败",
"schema": {
"type": "string"
}
}
}
}
}
},
"definitions": {
"announcementmod.Announcement": {
"type": "object",
"properties": {
"content": {
"description": "内容",
"type": "string"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"id": {
"type": "integer"
},
"sort": {
"description": "排序,越大越靠前",
"type": "integer"
},
"status": {
"description": "是否启用",
"type": "boolean"
},
"title": {
"description": "标题",
"type": "string"
},
"updatedAt": {
"description": "更新时间",
"type": "string"
}
}
},
"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,
6
],
"x-enum-comments": {
"TranTypeAdminAdjust": "管理员手动调整",
"TranTypeCoinGift": "金币充值赠送",
"TranTypeCoinRecharge": "金币充值(购买金币)",
"TranTypeDarkAlley": "历史遗留交易类型(已下线)",
"TranTypeVideoUnlock": "视频解锁",
"TranTypeVipGiftCoin": "购买会员赠送金币"
},
"x-enum-varnames": [
"TranTypeCoinRecharge",
"TranTypeVipGiftCoin",
"TranTypeDarkAlley",
"TranTypeVideoUnlock",
"TranTypeAdminAdjust",
"TranTypeCoinGift"
]
},
"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"
}
}
},
"payCenter.RechargeCallbackResp": {
"type": "object",
"required": [
"code",
"mercId",
"oid",
"payMoney",
"sign",
"tradeNo"
],
"properties": {
"code": {
"type": "integer"
},
"mercId": {
"type": "string"
},
"oid": {
"type": "string"
},
"payMoney": {
"type": "string"
},
"sign": {
"type": "string"
},
"tradeNo": {
"type": "string"
}
}
},
"playletchaptermod.PayType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-comments": {
"PayTypeCoin": "金币",
"PayTypeFree": "免费",
"PayTypeVip": "VIP"
},
"x-enum-varnames": [
"PayTypeFree",
"PayTypeCoin",
"PayTypeVip"
]
},
"playletchaptermod.Status": {
"type": "integer",
"enum": [
0,
1
],
"x-enum-comments": {
"StatusDown": "下架",
"StatusUp": "上架"
},
"x-enum-varnames": [
"StatusDown",
"StatusUp"
]
},
"playletchaptermod.WatermarkStatus": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-comments": {
"WatermarkStatusDone": "已完成",
"WatermarkStatusFailed": "处理失败",
"WatermarkStatusPending": "未处理(待 mediafile/sync)",
"WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)",
"WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)"
},
"x-enum-varnames": [
"WatermarkStatusPending",
"WatermarkStatusRegistered",
"WatermarkStatusProcessing",
"WatermarkStatusDone",
"WatermarkStatusFailed"
]
},
"playletmod.ContentType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-comments": {
"ContentTypeAlbum": "普通短剧/影集(对应 media_type=6)",
"ContentTypeAnime": "动漫(对应 media_type=1)",
"ContentTypeComic": "漫画短剧(对应 media_type=4)",
"ContentTypeManga": "漫画(对应 media_type=2)",
"ContentTypeTheater": "短剧(对应 media_type=5)"
},
"x-enum-varnames": [
"ContentTypeTheater",
"ContentTypeAlbum",
"ContentTypeComic",
"ContentTypeAnime",
"ContentTypeManga"
]
},
"playletmod.OperateType": {
"type": "integer",
"enum": [
1,
2
],
"x-enum-comments": {
"OperateTypeComic": "漫剧",
"OperateTypePlaylet": "短剧"
},
"x-enum-varnames": [
"OperateTypePlaylet",
"OperateTypeComic"
]
},
"playletmod.PayType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-comments": {
"PayTypeCoin": "金币",
"PayTypeFree": "免费",
"PayTypeVip": "VIP"
},
"x-enum-varnames": [
"PayTypeFree",
"PayTypeCoin",
"PayTypeVip"
]
},
"playletmod.Status": {
"type": "integer",
"enum": [
0,
1
],
"x-enum-comments": {
"StatusDown": "下架",
"StatusUp": "上架"
},
"x-enum-varnames": [
"StatusDown",
"StatusUp"
]
},
"proto.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.HomeBannerAddReq": {
"type": "object",
"required": [
"image",
"name",
"status"
],
"properties": {
"image": {
"description": "图片",
"type": "string"
},
"name": {
"description": "名称",
"type": "string"
},
"rank": {
"description": "排序",
"type": "integer"
},
"status": {
"description": "状态 true-启用 false-停用",
"type": "boolean"
},
"url": {
"description": "URL",
"type": "string"
},
"verticalImage": {
"description": "竖版图片",
"type": "string"
}
}
},
"proto.HomeBannerAddResp": {
"type": "object",
"properties": {
"id": {
"description": "ID",
"type": "integer"
}
}
},
"proto.HomeBannerDelReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"description": "ID",
"type": "integer"
}
}
},
"proto.HomeBannerListPageResp": {
"type": "object",
"properties": {
"list": {
"description": "集合列表"
},
"pageNum": {
"description": "页数",
"type": "integer"
},
"pageSize": {
"description": "每页数",
"type": "integer"
},
"totalCount": {
"description": "总共数量",
"type": "integer"
}
}
},
"proto.HomeBannerUpdateReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"description": "ID",
"type": "integer"
},
"image": {
"description": "图片",
"type": "string"
},
"name": {
"description": "名称",
"type": "string"
},
"rank": {
"description": "排序",
"type": "integer"
},
"status": {
"description": "状态 true-启用 false-停用",
"type": "boolean"
},
"url": {
"description": "URL",
"type": "string"
},
"verticalImage": {
"description": "竖版图片",
"type": "string"
}
}
},
"proto.HomeConfigAddReq": {
"type": "object",
"required": [
"name",
"sortType",
"status",
"type"
],
"properties": {
"desc": {
"description": "描述",
"type": "string"
},
"moreCategoryId": {
"description": "“更多”跳转导航分类ID,0表示不展示",
"type": "integer"
},
"name": {
"description": "名称",
"type": "string"
},
"rank": {
"description": "排序,越大越靠前",
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,不传则按 SEO 关键词或名称自动生成",
"type": "string"
},
"sortType": {
"description": "排序字段 1-推荐 2-热播 3-最近更新 4-新片预告 5-分类",
"type": "integer"
},
"status": {
"description": "上下架状态 true-上架 false-下架",
"type": "boolean"
},
"type": {
"description": "类型 1-短剧 3-题材",
"type": "integer"
}
}
},
"proto.HomeConfigAddResp": {
"type": "object",
"properties": {
"id": {
"description": "ID",
"type": "integer"
}
}
},
"proto.HomeConfigDelReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"description": "ID",
"type": "integer"
}
}
},
"proto.HomeConfigListPageResp": {
"type": "object",
"properties": {
"list": {
"description": "集合列表"
},
"pageNum": {
"description": "页数",
"type": "integer"
},
"pageSize": {
"description": "每页数",
"type": "integer"
},
"totalCount": {
"description": "总共数量",
"type": "integer"
}
}
},
"proto.HomeConfigUpdateReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"desc": {
"description": "描述",
"type": "string"
},
"id": {
"description": "ID",
"type": "integer"
},
"moreCategoryId": {
"description": "“更多”跳转导航分类ID,0表示清除",
"type": "integer"
},
"name": {
"description": "名称",
"type": "string"
},
"rank": {
"description": "排序,越大越靠前",
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,历史数据为空时更新会自动生成",
"type": "string"
},
"sortType": {
"description": "排序字段 1-推荐 2-热播 3-最近更新 4-新片预告 5-分类",
"type": "integer"
},
"status": {
"description": "上下架状态 true-上架 false-下架",
"type": "boolean"
},
"type": {
"description": "类型 1-短剧 3-题材",
"type": "integer"
}
}
},
"proto.PlayletAddReq": {
"type": "object",
"required": [
"title"
],
"properties": {
"anchor": {
"type": "string"
},
"banner": {
"type": "string"
},
"categoryBinds": {
"description": "分类绑定及排序,优先于categoryIds",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletCategoryBind"
}
},
"categoryIds": {
"description": "分类ID集合,可为空;不传或空数组表示清空",
"type": "array",
"items": {
"type": "integer"
}
},
"contentType": {
"$ref": "#/definitions/playletmod.ContentType"
},
"cover": {
"type": "string"
},
"desc": {
"type": "string"
},
"horizontalCover": {
"description": "横版封面",
"type": "string"
},
"isFeatured": {
"description": "是否爆剧(true-是,false-否)",
"type": "boolean"
},
"isRecommend": {
"type": "boolean"
},
"onlineAt": {
"description": "上架时间,上架时不传则按当前时间",
"type": "string"
},
"operateType": {
"description": "运营类型 1-短剧 2-漫剧,不传默认短剧",
"allOf": [
{
"$ref": "#/definitions/playletmod.OperateType"
}
]
},
"payType": {
"description": "支付方式 0-免费 1-金币 2-VIP",
"allOf": [
{
"$ref": "#/definitions/playletmod.PayType"
}
]
},
"preview": {
"type": "string"
},
"recommendRank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"showOnBanner": {
"type": "boolean"
},
"singleCoins": {
"description": "单集金币(支付方式为1-金币时候生效)",
"type": "integer"
},
"slug": {
"description": "slug,不传则按 SEO 关键词或标题自动生成",
"type": "string"
},
"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.PlayletCategoryBind": {
"type": "object",
"properties": {
"id": {
"description": "分类ID",
"type": "integer"
},
"rank": {
"description": "该分类下的排序,越大越靠前",
"type": "integer"
}
}
},
"proto.PlayletCategorySetReq": {
"type": "object",
"properties": {
"categoryBinds": {
"description": "分类绑定及排序,优先于categoryIds,传空数组表示清空分类",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletCategoryBind"
}
},
"categoryIds": {
"description": "分类ID集合,未传categoryBinds时使用,传空数组表示清空分类",
"type": "array",
"items": {
"type": "integer"
}
},
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"proto.PlayletChapterAddReq": {
"type": "object",
"required": [
"currentEpisode",
"playletId"
],
"properties": {
"currentEpisode": {
"type": "integer"
},
"hash": {
"type": "string"
},
"height": {
"type": "integer"
},
"md5": {
"type": "string"
},
"mediaSize": {
"type": "integer"
},
"mediaSourceId": {
"type": "string"
},
"mediaTime": {
"type": "integer"
},
"payType": {
"$ref": "#/definitions/playletchaptermod.PayType"
},
"playletId": {
"type": "integer"
},
"ratio": {
"type": "number"
},
"singleCoins": {
"type": "integer"
},
"status": {
"description": "上架状态,不传按媒资来源默认",
"allOf": [
{
"$ref": "#/definitions/playletchaptermod.Status"
}
]
},
"title": {
"type": "string"
},
"videoUrl": {
"type": "string"
},
"width": {
"type": "integer"
}
}
},
"proto.PlayletChapterAddResp": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
}
},
"proto.PlayletChapterDelReq": {
"type": "object",
"properties": {
"ids": {
"description": "章节ID集合,传1个表示单条删除,传多个表示批量删除",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"proto.PlayletChapterListPageResp": {
"type": "object",
"properties": {
"list": {
"description": "集合列表"
},
"pageNum": {
"description": "页数",
"type": "integer"
},
"pageSize": {
"description": "每页数",
"type": "integer"
},
"totalCount": {
"description": "总共数量",
"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.PlayletChapterStatusFillResp": {
"type": "object",
"properties": {
"updatedCount": {
"description": "本次回填数量",
"type": "integer"
}
}
},
"proto.PlayletChapterStatusSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "章节ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"status": {
"description": "上架状态 0-下架 1-上架",
"allOf": [
{
"$ref": "#/definitions/playletchaptermod.Status"
}
]
}
}
},
"proto.PlayletChapterSyncReq": {
"type": "object",
"required": [
"playletIds"
],
"properties": {
"playletIds": {
"description": "短剧ID集合,传1个表示单条同步,传多个表示批量同步",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"proto.PlayletChapterSyncResp": {
"type": "object",
"properties": {
"failedCount": {
"description": "失败数量",
"type": "integer"
},
"list": {
"description": "同步结果集合",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletChapterSyncResult"
}
},
"successCount": {
"description": "成功数量",
"type": "integer"
},
"total": {
"description": "同步总数",
"type": "integer"
}
}
},
"proto.PlayletChapterSyncResult": {
"type": "object",
"properties": {
"newChapterCount": {
"description": "本次新增剧集数量",
"type": "integer"
},
"playletId": {
"description": "短剧ID",
"type": "integer"
},
"reason": {
"description": "失败原因",
"type": "string"
},
"success": {
"description": "是否同步成功",
"type": "boolean"
}
}
},
"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"
},
"status": {
"description": "上架状态 0-下架 1-上架",
"allOf": [
{
"$ref": "#/definitions/playletchaptermod.Status"
}
]
},
"title": {
"type": "string"
},
"videoUrl": {
"type": "string"
},
"width": {
"type": "integer"
}
}
},
"proto.PlayletDelReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条删除,传多个表示批量删除",
"type": "array",
"items": {
"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.PlayletListSortType": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"x-enum-comments": {
"PlayletListSortCountBrowse": "浏览数",
"PlayletListSortCountCollect": "收藏数",
"PlayletListSortCountLike": "点赞数",
"PlayletListSortCreatedAt": "创建时间(默认)",
"PlayletListSortOnlineAt": "上架时间",
"PlayletListSortRecommendRank": "推荐排序",
"PlayletListSortUpdatedAt": "修改时间"
},
"x-enum-varnames": [
"PlayletListSortCreatedAt",
"PlayletListSortRecommendRank",
"PlayletListSortUpdatedAt",
"PlayletListSortCountLike",
"PlayletListSortCountBrowse",
"PlayletListSortCountCollect",
"PlayletListSortOnlineAt"
]
},
"proto.PlayletOnlineAtFillResp": {
"type": "object",
"properties": {
"updatedCount": {
"description": "本次回填数量",
"type": "integer"
}
}
},
"proto.PlayletOperateTypeSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"operateType": {
"description": "运营类型 1-短剧 2-漫剧",
"allOf": [
{
"$ref": "#/definitions/playletmod.OperateType"
}
]
}
}
},
"proto.PlayletPayTypeSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"payType": {
"description": "支付方式 0-免费 1-金币 2-VIP",
"allOf": [
{
"$ref": "#/definitions/playletmod.PayType"
}
]
},
"singleCoins": {
"description": "单集金币(支付方式为1-金币时必填且需\u003e0)",
"type": "integer"
}
}
},
"proto.PlayletRecommendSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"isRecommend": {
"description": "是否原创(推荐)(true-推荐,false-不推荐)",
"type": "boolean"
}
}
},
"proto.PlayletResourceChapterItem": {
"type": "object",
"properties": {
"cover": {
"description": "封面",
"type": "string"
},
"createTime": {
"description": "创建时间",
"type": "integer"
},
"episodeNumber": {
"description": "第几集",
"type": "integer"
},
"hashId": {
"description": "资源hash",
"type": "string"
},
"height": {
"description": "高",
"type": "integer"
},
"id": {
"description": "媒资内容ID",
"type": "integer"
},
"mediaSize": {
"description": "资源大小",
"type": "integer"
},
"playTime": {
"description": "播放时长(秒)",
"type": "integer"
},
"saleCoin": {
"description": "单集售价",
"type": "integer"
},
"title": {
"description": "章节名",
"type": "string"
},
"updateTime": {
"description": "更新时间",
"type": "integer"
},
"videoUrl": {
"description": "播放地址",
"type": "string"
},
"width": {
"description": "宽",
"type": "integer"
}
}
},
"proto.PlayletResourceChapterListResp": {
"type": "object",
"properties": {
"list": {
"description": "剧集列表",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletResourceChapterItem"
}
},
"mediaId": {
"description": "媒资中心资源ID",
"type": "integer"
},
"title": {
"description": "短剧标题",
"type": "string"
},
"total": {
"description": "剧集数量",
"type": "integer"
}
}
},
"proto.PlayletResourceJHListItem": {
"type": "object",
"properties": {
"actors": {
"description": "演员集合",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletResourceMediaActor"
}
},
"anchor": {
"description": "作者",
"type": "string"
},
"create_time": {
"description": "创建时间",
"type": "integer"
},
"data_version": {
"description": "数据版本",
"type": "integer"
},
"horizontalCover": {
"description": "兼容驼峰",
"type": "string"
},
"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": "更新状态",
"type": "integer"
},
"update_time": {
"description": "更新时间",
"type": "integer"
},
"verticalCover": {
"description": "兼容驼峰",
"type": "string"
},
"vertical_cover": {
"description": "竖版封面",
"type": "string"
},
"vlogger_id": {
"type": "integer"
}
}
},
"proto.PlayletResourceJHListResp": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletResourceJHListItem"
}
},
"total": {
"type": "integer"
}
}
},
"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.PlayletResourceMediaActor": {
"type": "object",
"properties": {
"avatar": {
"description": "头像",
"type": "string"
},
"gender": {
"description": "性别",
"type": "integer"
},
"name": {
"description": "名称",
"type": "string"
}
}
},
"proto.PlayletResourceUseReq": {
"type": "object",
"properties": {
"ids": {
"description": "媒资中心资源ID集合-多个用逗号隔开,请求示例[28830,28829,28828,28827,28826,28825]",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"proto.PlayletSalesItem": {
"type": "object",
"properties": {
"collectCount": {
"description": "期间新增且当前仍在的短剧收藏数",
"type": "integer"
},
"cover": {
"type": "string"
},
"id": {
"type": "integer"
},
"likeCount": {
"description": "期间新增且当前仍在的短剧点赞数",
"type": "integer"
},
"slug": {
"type": "string"
},
"status": {
"$ref": "#/definitions/playletmod.Status"
},
"title": {
"type": "string"
},
"unlockCoins": {
"description": "金币解锁消耗",
"type": "integer"
},
"unlockCount": {
"description": "金币解锁次数",
"type": "integer"
}
}
},
"proto.PlayletSalesResp": {
"type": "object",
"properties": {
"endTime": {
"description": "实际统计结束时间(北京时间)",
"type": "string"
},
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletSalesItem"
}
},
"startTime": {
"description": "实际统计开始时间(北京时间)",
"type": "string"
}
}
},
"proto.PlayletSalesSortType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-comments": {
"PlayletSalesSortCollect": "收藏数",
"PlayletSalesSortLike": "点赞数",
"PlayletSalesSortUnlock": "金币解锁次数"
},
"x-enum-varnames": [
"PlayletSalesSortUnlock",
"PlayletSalesSortLike",
"PlayletSalesSortCollect"
]
},
"proto.PlayletSlugSyncReq": {
"type": "object",
"properties": {
"maxSize": {
"description": "本次最多处理的空 slug 记录数,默认500,最大2000",
"type": "integer"
}
}
},
"proto.PlayletSlugSyncResp": {
"type": "object",
"properties": {
"hasMore": {
"description": "是否还有未处理的历史数据",
"type": "boolean"
},
"homeConfigUpdated": {
"description": "本次补齐的首页配置数",
"type": "integer"
},
"playletUpdated": {
"description": "本次补齐的短剧数",
"type": "integer"
},
"tagUpdated": {
"description": "本次补齐的标签数",
"type": "integer"
},
"themeUpdated": {
"description": "本次补齐的题材数",
"type": "integer"
}
}
},
"proto.PlayletStatusSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"onlineAt": {
"description": "上架时间,上架时不传则按当前时间",
"type": "string"
},
"status": {
"description": "上架状态 0-下架 1-上架",
"allOf": [
{
"$ref": "#/definitions/playletmod.Status"
}
]
}
}
},
"proto.PlayletTagAddReq": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"rank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,不传则按 SEO 关键词或名称自动生成",
"type": "string"
},
"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"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,历史数据为空时更新会自动生成",
"type": "string"
},
"status": {
"type": "boolean"
}
}
},
"proto.PlayletThemeAddReq": {
"type": "object",
"required": [
"name"
],
"properties": {
"icon": {
"type": "string"
},
"isRecommend": {
"description": "是否推荐",
"type": "boolean"
},
"name": {
"type": "string"
},
"rank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,不传则按 SEO 关键词或名称自动生成",
"type": "string"
},
"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.PlayletThemeRecommendSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "题材ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"isRecommend": {
"description": "是否推荐(true-推荐,false-取消推荐)",
"type": "boolean"
}
}
},
"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"
},
"isRecommend": {
"description": "是否推荐",
"type": "boolean"
},
"name": {
"type": "string"
},
"rank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"slug": {
"description": "slug,历史数据为空时更新会自动生成",
"type": "string"
},
"status": {
"type": "boolean"
}
}
},
"proto.PlayletUpdateReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"anchor": {
"type": "string"
},
"banner": {
"type": "string"
},
"categoryBinds": {
"description": "分类绑定及排序,优先于categoryIds",
"type": "array",
"items": {
"$ref": "#/definitions/proto.PlayletCategoryBind"
}
},
"categoryIds": {
"description": "分类ID集合,可为空;未传categoryBinds时使用",
"type": "array",
"items": {
"type": "integer"
}
},
"contentType": {
"$ref": "#/definitions/playletmod.ContentType"
},
"cover": {
"type": "string"
},
"desc": {
"type": "string"
},
"horizontalCover": {
"description": "横版封面",
"type": "string"
},
"id": {
"type": "integer"
},
"isFeatured": {
"description": "是否爆剧(true-是,false-否)",
"type": "boolean"
},
"isRecommend": {
"type": "boolean"
},
"onlineAt": {
"description": "上架时间,新上架时不传则按当前时间",
"type": "string"
},
"operateType": {
"description": "运营类型 1-短剧 2-漫剧",
"allOf": [
{
"$ref": "#/definitions/playletmod.OperateType"
}
]
},
"payType": {
"description": "支付方式 0-免费 1-金币 2-VIP",
"allOf": [
{
"$ref": "#/definitions/playletmod.PayType"
}
]
},
"preview": {
"type": "string"
},
"recommendRank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"showOnBanner": {
"type": "boolean"
},
"singleCoins": {
"description": "单集金币(支付方式为1-金币时候生效)",
"type": "integer"
},
"slug": {
"description": "slug,历史数据为空时更新会自动生成",
"type": "string"
},
"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.PlayletVirtualLikeSetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
"type": "array",
"items": {
"type": "integer"
}
},
"maxVirtualCountLike": {
"description": "虚拟点赞数最大值,必须大于等于最小值",
"type": "integer"
},
"minVirtualCountLike": {
"description": "虚拟点赞数最小值,必须大于等于0",
"type": "integer"
}
}
},
"proto.PlayletWatermarkResetReq": {
"type": "object",
"properties": {
"ids": {
"description": "短剧ID集合,传1个表示单条,传多个表示批量;会重置其下全部剧集水印",
"type": "array",
"items": {
"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_announcement.AddAnnouncementReq": {
"type": "object",
"required": [
"title"
],
"properties": {
"content": {
"description": "内容",
"type": "string"
},
"sort": {
"description": "排序,越大越靠前",
"type": "integer"
},
"status": {
"description": "是否启用",
"type": "boolean"
},
"title": {
"description": "标题",
"type": "string"
}
}
},
"srv_announcement.DelAnnouncementReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer"
}
}
},
"srv_announcement.GetAnnouncementListReq": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"description": "是否启用",
"type": "boolean"
},
"title": {
"description": "标题,模糊搜索",
"type": "string"
}
}
},
"srv_announcement.GetAnnouncementListResp": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/announcementmod.Announcement"
}
},
"total": {
"type": "integer"
}
}
},
"srv_announcement.UpdateAnnouncementParam": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"sort": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"title": {
"type": "string"
}
}
},
"srv_announcement.UpdateAnnouncementReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer"
},
"param": {
"$ref": "#/definitions/srv_announcement.UpdateAnnouncementParam"
}
}
},
"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"
},
"replyCommentId": {
"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"
},
"objectName": {
"description": "对象名(模糊)",
"type": "string"
},
"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"
},
"replyCommentId": {
"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_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": {
"id": {
"description": "导航ID",
"type": "integer"
},
"name": {
"description": "导航名称",
"type": "string"
},
"pageNum": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"transCategoryId": {
"description": "导航分类ID",
"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.HomeMoreOption": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"urlValue": {
"type": "string"
}
}
},
"srv_translationcategory.TranslationCategoryDelReq": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer"
}
}
},
"srv_translationcategory.TranslationCategoryReq": {
"type": "object",
"properties": {
"categoryType": {
"description": "导航类型",
"allOf": [
{
"$ref": "#/definitions/pubdef.TranslationType"
}
]
},
"homeMoreEnabled": {
"description": "可作为首页“更多”跳转目标",
"type": "boolean"
},
"id": {
"description": "分类ID,精确匹配",
"type": "integer"
},
"name": {
"description": "分类名称,模糊搜索",
"type": "string"
},
"pageNum": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"status": {
"description": "上架状态",
"type": "boolean"
}
}
},
"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"
},
"homeMoreEnabled": {
"description": "可作为首页“更多”跳转目标",
"type": "boolean"
},
"icon": {
"description": "Icon",
"type": "string"
},
"name": {
"description": "名称",
"type": "string"
},
"rank": {
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"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.ResetPasswordReq": {
"type": "object",
"required": [
"password",
"userId"
],
"properties": {
"password": {
"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": {
"accountNo": {
"description": "账号(精确)",
"type": "string"
},
"districtCode": {
"description": "渠道码",
"type": "string"
},
"email": {
"description": "邮箱(精确)",
"type": "string"
},
"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_viporder.RechargeSummaryResp": {
"type": "object",
"properties": {
"coinAmount": {
"description": "金币成功订单金额(分)",
"type": "integer"
},
"coinOrderCount": {
"description": "金币成功订单数",
"type": "integer"
},
"endTime": {
"description": "实际统计结束时间(北京时间)",
"type": "string"
},
"orderCount": {
"description": "成功订单数",
"type": "integer"
},
"startTime": {
"description": "实际统计开始时间(北京时间)",
"type": "string"
},
"totalAmount": {
"description": "成功订单金额合计(分)",
"type": "integer"
},
"userCount": {
"description": "成功充值用户数(去重)",
"type": "integer"
},
"vipAmount": {
"description": "会员成功订单金额(分)",
"type": "integer"
},
"vipOrderCount": {
"description": "会员成功订单数",
"type": "integer"
}
}
},
"srv_viporder.SyncDistrictCodeReq": {
"type": "object",
"properties": {
"maxSize": {
"description": "本次最多扫描的空渠道码订单数,默认500,最大2000",
"type": "integer"
}
}
},
"srv_viporder.SyncDistrictCodeResp": {
"type": "object",
"properties": {
"hasMore": {
"description": "是否还有未处理的历史订单",
"type": "boolean"
},
"orderUpdated": {
"description": "成功回填的订单数",
"type": "integer"
},
"scanned": {
"description": "本次扫描的空渠道码订单数",
"type": "integer"
},
"userSkipped": {
"description": "用户本身没有渠道码",
"type": "integer"
},
"userUpdated": {
"description": "成功回填的用户数",
"type": "integer"
}
}
},
"srv_viporder.VipOrderReq": {
"type": "object",
"properties": {
"districtCode": {
"description": "渠道码",
"type": "string"
},
"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"
},
"homeMoreEnabled": {
"description": "可作为首页“更多”跳转目标 true-是 false-否",
"type": "boolean"
},
"icon": {
"description": "Icon",
"type": "string"
},
"id": {
"description": "Id",
"type": "integer"
},
"name": {
"description": "分类名称",
"type": "string"
},
"rank": {
"description": "排序",
"type": "integer"
},
"seoInfo": {
"description": "Seo相关信息",
"allOf": [
{
"$ref": "#/definitions/pubdef.SeoValue"
}
]
},
"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"
},
"isDirect": {
"description": "是否是直推 true:是直推用户",
"type": "boolean"
},
"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"
},
"isDirect": {
"description": "是否是直推 true:是直推用户",
"type": "boolean"
},
"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"
}
]
}
}
},
"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"
},
"baseCoin": {
"description": "基础金币数(快照)",
"type": "integer"
},
"cardId": {
"description": "── VIP 专用 ──",
"type": "integer"
},
"cardName": {
"description": "套餐名快照",
"type": "string"
},
"coin": {
"description": "到账金币数(快照)",
"type": "integer"
},
"coinCfgId": {
"description": "── 金币专用 ──",
"type": "integer"
},
"createdAt": {
"description": "创建时间",
"type": "string"
},
"districtCode": {
"description": "下单时用户渠道码",
"type": "string"
},
"finishedAt": {
"description": "完成时间",
"type": "string"
},
"giftCoin": {
"description": "赠送金币数(快照)",
"type": "integer"
},
"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"
},
"appKey": {
"description": "媒资库 appKey,调用 media 写接口时传入",
"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"
},
"officialAppAddr": {
"description": "官网app地址",
"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"
},
"watermarkMediaBottomLeft": {
"description": "视频水印文件(底部左边)",
"type": "string"
},
"watermarkMediaTop": {
"description": "视频水印文件(顶部左边)",
"type": "string"
},
"watermarkMediaTopRight": {
"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.SetAppKeyReq": {
"type": "object",
"properties": {
"appKey": {
"description": "媒资库 appKey",
"type": "string"
}
}
},
"web_cfg.SetAppKeyResp": {
"type": "object"
},
"web_cfg.SysConfigUpdateReq": {
"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": "导航页-线路一",
"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"
},
"officialAppAddr": {
"description": "官网app地址",
"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"
},
"watermarkMediaBottomLeft": {
"description": "视频水印文件(底部左边)",
"type": "string"
},
"watermarkMediaTop": {
"description": "视频水印文件(顶部左边)",
"type": "string"
},
"watermarkMediaTopRight": {
"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"
}
}
}
}