13397 lines
438 KiB
Go
13397 lines
438 KiB
Go
// Package swag_web_docs Code generated by swaggo/swag. DO NOT EDIT
|
||
package swag_web_docs
|
||
|
||
import "github.com/swaggo/swag"
|
||
|
||
const docTemplate = `{
|
||
"schemes": {{ marshal .Schemes }},
|
||
"swagger": "2.0",
|
||
"info": {
|
||
"description": "{{escape .Description}}",
|
||
"title": "{{.Title}}",
|
||
"contact": {},
|
||
"license": {
|
||
"name": "Apache 2.0",
|
||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||
},
|
||
"version": "{{.Version}}"
|
||
},
|
||
"host": "{{.Host}}",
|
||
"basePath": "{{.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/actress/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_actress.ActressAddReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/actress/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_actress.ActressDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/actress/list": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取女优信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"女优管理"
|
||
],
|
||
"summary": "分组分页获取女优信息",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_actress.ActressListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_actress.ActressListResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/actress/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_actress.ActressUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/contactus/del": {
|
||
"post": {
|
||
"description": "删除一个联系我们",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"联系我们"
|
||
],
|
||
"summary": "删除一个联系我们",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_contactus.DelOneContactusReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/contactus/list": {
|
||
"post": {
|
||
"description": "联系我们列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"联系我们"
|
||
],
|
||
"summary": "联系我们列表",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_contactus.GetContactusListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_contactus.GetContactusListResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/contactus/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_contactus.UpdateContactusReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/content/tag/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.ContentTagAddReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.ContentTagAddResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/content/tag/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.ContentTagDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/content/tag/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",
|
||
"name": "pageNum",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageSize",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "boolean",
|
||
"description": "状态 true-启用 false-停用",
|
||
"name": "status",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"enum": [
|
||
1,
|
||
5
|
||
],
|
||
"type": "integer",
|
||
"x-enum-comments": {
|
||
"ContentTagTypePlaylet": "短剧",
|
||
"ContentTagTypeVideo": "视频"
|
||
},
|
||
"x-enum-varnames": [
|
||
"ContentTagTypeVideo",
|
||
"ContentTagTypePlaylet"
|
||
],
|
||
"description": "内容类型 1-视频 5-短剧",
|
||
"name": "type",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.ContentTagListPageResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/content/tag/option": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "查询启用的统一标签下拉列表,传type时按支持类型过滤",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web统一标签相关接口"
|
||
],
|
||
"summary": "统一标签下拉列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"enum": [
|
||
1,
|
||
5
|
||
],
|
||
"type": "integer",
|
||
"x-enum-comments": {
|
||
"ContentTagTypePlaylet": "短剧",
|
||
"ContentTagTypeVideo": "视频"
|
||
},
|
||
"x-enum-varnames": [
|
||
"ContentTagTypeVideo",
|
||
"ContentTagTypePlaylet"
|
||
],
|
||
"description": "内容类型 1-视频 5-短剧,不传返回全部启用标签",
|
||
"name": "type",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.ContentTagOptionResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/content/tag/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.ContentTagUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"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/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/hotnav/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_hotnav.AddHotNavReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/hotnav/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_hotnav.DelHotNavReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/hotnav/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_hotnav.GetHotNavListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_hotnav.GetHotNavListResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/hotnav/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_hotnav.UpdateHotNavReq"
|
||
}
|
||
}
|
||
],
|
||
"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": []
|
||
}
|
||
],
|
||
"description": "新增 playlet 集合短剧数据,支持分类、题材、标签、支付方式、推荐和 banner 配置",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端新增短剧 -- by 王鸣",
|
||
"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/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端新增短剧分类 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "新增短剧分类请求",
|
||
"name": "params",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletCategoryAddReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletCategoryAddResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/category/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端删除短剧分类 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "删除短剧分类请求",
|
||
"name": "params",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletCategoryDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/category/list": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分页查询短剧分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端短剧分类列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "分类ID",
|
||
"name": "id",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "分类名称,支持模糊查询",
|
||
"name": "name",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageNum",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageSize",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "boolean",
|
||
"description": "启用状态",
|
||
"name": "status",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletCategoryListPageResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/category/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据短剧ID集合批量更新 playlet 集合 categoryIds 字段,传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.PlayletCategorySetReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/category/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端更新短剧分类 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "更新短剧分类请求",
|
||
"name": "params",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletCategoryUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/chapter/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "新增 playlet_chapter 集合短剧剧集数据",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端新增短剧剧集 -- by 王鸣",
|
||
"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 记录,仅原创短剧支持删除",
|
||
"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": []
|
||
}
|
||
],
|
||
"description": "分页查询 playlet_chapter 集合短剧剧集数据,默认按集数升序返回",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端短剧剧集列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "剧集ID",
|
||
"name": "id",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageNum",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageSize",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "短剧ID",
|
||
"name": "playletId",
|
||
"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"
|
||
],
|
||
"description": "水印状态 0-未处理 1-已登记 2-处理中 3-已完成 4-处理失败",
|
||
"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 和 singleCoins 字段,传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/sync": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据短剧ID集合从媒资中心同步新增剧集,playletIds传1个表示单条同步,传多个表示批量同步,允许已完结短剧补集或修正状态",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端手动单/批量同步短剧剧集",
|
||
"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": []
|
||
}
|
||
],
|
||
"description": "按剧集ID编辑 playlet_chapter 集合短剧剧集数据,只更新请求中传入的字段",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端编辑短剧剧集 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "编辑短剧剧集请求",
|
||
"name": "params",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletChapterUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/featured/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据短剧ID集合批量更新 playlet 集合 isFeatured 字段,传1个ID表示单条设置,传多个ID表示批量设置",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端单/批量设置短剧是否爆剧 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "单/批量设置短剧是否爆剧请求",
|
||
"name": "params",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletFeaturedSetReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/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端短剧列表 -- by 王鸣",
|
||
"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",
|
||
"description": "短剧ID",
|
||
"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": "是否推荐,true-推荐、false-不推荐",
|
||
"name": "isRecommend",
|
||
"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",
|
||
"description": "是否显示在首页banner,true-显示、false-不显示",
|
||
"name": "showOnBanner",
|
||
"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",
|
||
"description": "短剧标题,支持模糊查询",
|
||
"name": "title",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletListPageResp"
|
||
}
|
||
},
|
||
"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端单/批量设置短剧默认支付方式 -- by 王鸣",
|
||
"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/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端新增标签 -- by 王鸣",
|
||
"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端删除标签 -- by 王鸣",
|
||
"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端标签列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"name": "id",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"name": "name",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageNum",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageSize",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "boolean",
|
||
"name": "status",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletTagListPageResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/tag/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据短剧ID集合批量更新 playlet 集合 tagIds 字段,传1个ID表示单条设置,传多个ID表示批量设置",
|
||
"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端更新标签 -- by 王鸣",
|
||
"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端新增题材 -- by 王鸣",
|
||
"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端删除题材 -- by 王鸣",
|
||
"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端题材列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "题材ID",
|
||
"name": "id",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "题材名称,支持模糊查询",
|
||
"name": "name",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageNum",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"name": "pageSize",
|
||
"in": "query"
|
||
},
|
||
{
|
||
"type": "boolean",
|
||
"description": "上架状态",
|
||
"name": "status",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.PlayletThemeListPageResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/playlet/theme/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据短剧ID集合批量更新 playlet 集合 themeIds 字段,传1个ID表示单条设置,传多个ID表示批量设置",
|
||
"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端更新题材 -- by 王鸣",
|
||
"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": []
|
||
}
|
||
],
|
||
"description": "按短剧ID编辑 playlet 集合短剧数据,只更新请求中传入的字段",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端编辑短剧 -- by 王鸣",
|
||
"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集合重置剧集水印状态,保留已有水印地址以便换水印期间继续观看",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web短剧相关接口"
|
||
],
|
||
"summary": "web端按短剧ID批量重置剧集水印 -- by 王鸣",
|
||
"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/questionnaire/handle": {
|
||
"post": {
|
||
"description": "只有状态为\"待处理\"的问卷才允许更新",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"问卷调查"
|
||
],
|
||
"summary": "处理问卷",
|
||
"parameters": [
|
||
{
|
||
"description": "处理参数",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_questionnaire.HandleReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/questionnaire/list": {
|
||
"post": {
|
||
"description": "支持分页及条件筛选(question_type、status、时间范围)",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"问卷调查"
|
||
],
|
||
"summary": "查询问卷列表",
|
||
"parameters": [
|
||
{
|
||
"description": "查询参数",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_questionnaire.ListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_questionnaire.ListResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "失败",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/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/list": {
|
||
"get": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分页查询短剧媒资列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web媒资库相关接口"
|
||
],
|
||
"summary": "web端短剧媒资列表 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"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/slug/sync": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "为视频、分类、女优、作者、短剧、统一标签等空 slug 按 SEO 关键词或名称自动生成。可重复调用,hasMore 为 true 时继续请求。type 为空处理全部,也可指定 video/videoCategory/actress/videoCreater/playlet/playletCategory/playletTheme/contentTag。",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"web slug相关接口"
|
||
],
|
||
"summary": "同步历史空 slug",
|
||
"parameters": [
|
||
{
|
||
"description": "同步参数",
|
||
"name": "param",
|
||
"in": "body",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.SlugSyncReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/proto.SlugSyncResp"
|
||
}
|
||
},
|
||
"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/srv_translationcategory.TranslationCategoryResp"
|
||
}
|
||
},
|
||
"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/srv_translationcategory.TranslationCategoryResp"
|
||
}
|
||
},
|
||
"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/translation/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "添加一个导航跳转信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航跳转信息"
|
||
],
|
||
"summary": "添加一个导航跳转信息",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/translationmod.TranslationInfo"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translation/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个导航跳转信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航跳转信息"
|
||
],
|
||
"summary": "删除一个导航跳转信息",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translation.TranslationInfoDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translation/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取导航跳转信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航跳转信息"
|
||
],
|
||
"summary": "分组分页获取导航跳转信息",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translation.TranslationInfoReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translation.TranslationInfoResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translation/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个导航跳转信息",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航跳转信息"
|
||
],
|
||
"summary": "更新一个导航跳转信息",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translation.TranslationInfoUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translationcategory/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "添加一个导航分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航分类"
|
||
],
|
||
"summary": "添加一个导航分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/translationcategorymod.TranslationCategory"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translationcategory/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个导航分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航分类"
|
||
],
|
||
"summary": "删除一个导航分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translationcategory.TranslationCategoryDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translationcategory/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取导航分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航分类"
|
||
],
|
||
"summary": "分组分页获取导航分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translationcategory.TranslationCategoryReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translationcategory.TranslationCategoryResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/translationcategory/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个导航分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"导航分类"
|
||
],
|
||
"summary": "更新一个导航分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_translationcategory.TranslationCategoryUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/user/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "查询用户列表",
|
||
"parameters": [
|
||
{
|
||
"description": "查询参数",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_user.UserListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_user.UserListResp"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/user/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"用户管理"
|
||
],
|
||
"summary": "更新用户信息",
|
||
"parameters": [
|
||
{
|
||
"description": "更新参数",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_user.UserUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocategory/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "添加一个视频分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频分类"
|
||
],
|
||
"summary": "添加一个视频分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/videocategorymod.VideoCategory"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocategory/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个视频分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频分类"
|
||
],
|
||
"summary": "删除一个视频分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocategory.VideoCategoryDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocategory/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取视频分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频分类"
|
||
],
|
||
"summary": "分组分页获取视频分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocategory.VideoCategoryReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocategory.VideoCategoryResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocategory/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个视频分类",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频分类"
|
||
],
|
||
"summary": "更新一个视频分类",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocategory.VideoCategoryUpdate"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocollection/media/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_videocollection.GetCollectionMediaListReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocollection.GetCollectionMediaListResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocollection/media/option": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "修改合集里的视频列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"合集管理"
|
||
],
|
||
"summary": "修改合集里的视频列表",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocollection.VideoCollectionOptionMediaReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocollection/media/rank": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "修改合集里的视频排序",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"合集管理"
|
||
],
|
||
"summary": "修改合集里的视频排序",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocollection.UpdateCollectionMediaRankReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocreater/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "添加一个视频作者",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频作者"
|
||
],
|
||
"summary": "添加一个视频作者",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/videocreatermod.VideoCreaterInfo"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocreater/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个视频作者",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频作者"
|
||
],
|
||
"summary": "删除一个视频作者",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocreater.VideoCreaterDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocreater/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取视频作者",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频作者"
|
||
],
|
||
"summary": "分组分页获取视频作者",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocreater.VideoCreaterReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocreater.VideoCreaterResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videocreater/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个视频作者",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频作者"
|
||
],
|
||
"summary": "更新一个视频作者",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videocreater.VideoCreaterUpdate"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/addTags": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据视频ID集合批量追加统一标签,已存在的标签不会重复追加",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "批量追加视频标签 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoAddTagsReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/addcoll": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "新增一个视频合集",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "新增一个视频合集",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.AddVideoCollectionReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个视频管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "删除一个视频管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoInfoDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取视频管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "分组分页获取视频管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoInfoReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoInfoResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/recommend/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据视频ID集合批量更新 video_information 集合 isRecommend 字段,传1个ID表示单条设置,传多个ID表示批量设置",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "单/批量设置视频是否推荐 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SetRecommendReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/setFakeLikes": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据ids批量随机设置视频fake.likes,随机范围包含最小值和最大值",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "单/批量设置视频假点赞数 --by 旺鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SetFakeLikesReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SetFakeCountResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/setFakeWatchTimes": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据ids批量随机设置视频fake.watchTimes,随机范围包含最小值和最大值",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "单/批量设置视频假观看次数 --by 旺鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SetFakeWatchTimesReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SetFakeCountResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/sync": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "从切片列表同步多个视频",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "从切片列表同步多个视频",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.AddVideoReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/syncMediaFile": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "从媒资库直同步到视频列表,后续切片同步时按 mediaSourceId 覆盖",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "从媒资库直同步到视频列表",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.SyncMediaFileReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/tag/set": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "根据视频ID集合批量覆盖 video_information 集合 tags 字段,传1个ID表示单条设置,传多个ID表示批量设置,tagIds传空数组表示清空标签",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "单/批量设置视频标签 -- by 王鸣",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoSetTagsReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/transcode": {
|
||
"post": {
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "提交视频 H265 转码",
|
||
"responses": {}
|
||
}
|
||
},
|
||
"/api/web/videoinfo/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个视频管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"视频管理"
|
||
],
|
||
"summary": "更新一个视频管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videoinfo.VideoInfoUpdateReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videotag/add": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "添加一个标签管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"标签管理"
|
||
],
|
||
"summary": "添加一个标签管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/videotagmod.VideoTagInfo"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videotag/del": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "删除一个标签管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"标签管理"
|
||
],
|
||
"summary": "删除一个标签管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.VideoTagInfoDelReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videotag/list": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "分组分页获取标签管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"标签管理"
|
||
],
|
||
"summary": "分组分页获取标签管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.VideoTagInfoReq"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.VideoTagInfoResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/api/web/videotag/update": {
|
||
"post": {
|
||
"security": [
|
||
{
|
||
"ApiKeyAuth": []
|
||
}
|
||
],
|
||
"description": "更新一个标签管理",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"标签管理"
|
||
],
|
||
"summary": "更新一个标签管理",
|
||
"parameters": [
|
||
{
|
||
"description": "参数列表",
|
||
"name": "param",
|
||
"in": "body",
|
||
"required": true,
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.VideoTagInfoUpdate"
|
||
}
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/wbapi/hjsq/hottag": {
|
||
"get": {
|
||
"description": "根据视频累计播放量聚合返回热门标签列表",
|
||
"consumes": [
|
||
"application/json"
|
||
],
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"标签管理"
|
||
],
|
||
"summary": "查询播放量最多的标签",
|
||
"parameters": [
|
||
{
|
||
"type": "integer",
|
||
"description": "返回条数,默认10,最大1000",
|
||
"name": "limit",
|
||
"in": "query"
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.HotTagResp"
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "获取失败的返回结果",
|
||
"schema": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"/wbapi/hjsq/ipstat": {
|
||
"get": {
|
||
"produces": [
|
||
"application/json"
|
||
],
|
||
"tags": [
|
||
"IP统计"
|
||
],
|
||
"summary": "查询今日和昨日去重访客IP数",
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功",
|
||
"schema": {
|
||
"$ref": "#/definitions/srv_videotag.IpStatReq"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"definitions": {
|
||
"actress.Actress": {
|
||
"type": "object",
|
||
"properties": {
|
||
"alias": {
|
||
"description": "别名",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"bornDate": {
|
||
"description": "出生日期",
|
||
"type": "string"
|
||
},
|
||
"cover": {
|
||
"description": "封面大图",
|
||
"type": "string"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"debutDate": {
|
||
"description": "出道日期",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"hotValue": {
|
||
"description": "热度值",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "Id",
|
||
"type": "integer"
|
||
},
|
||
"indexNow": {
|
||
"description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改",
|
||
"type": "integer"
|
||
},
|
||
"meas": {
|
||
"description": "三围",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/actress.Meas"
|
||
}
|
||
]
|
||
},
|
||
"office": {
|
||
"description": "事务所",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"real": {
|
||
"description": "真实流量",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.Flow"
|
||
}
|
||
]
|
||
},
|
||
"realUpdateAt": {
|
||
"description": "播放相关数据更新时间",
|
||
"type": "string"
|
||
},
|
||
"region": {
|
||
"description": "地区/国家",
|
||
"type": "string"
|
||
},
|
||
"score": {
|
||
"description": "评分",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "关联导航分类id",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"works": {
|
||
"description": "作品数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"actress.Meas": {
|
||
"type": "object",
|
||
"properties": {
|
||
"blood": {
|
||
"description": "血型",
|
||
"type": "string"
|
||
},
|
||
"bust": {
|
||
"description": "胸围 英寸",
|
||
"type": "integer"
|
||
},
|
||
"cup": {
|
||
"description": "罩杯(A:1-G:9)1表示A,2表示B,3表示C,4表示D,5表示E,6表示F,7表示G,8表示H,9表示I",
|
||
"type": "integer"
|
||
},
|
||
"dia": {
|
||
"description": "直径 毫米(前端可以显示为厘米,如45毫米,显示为4.5厘米,返回后端时,乘以10,保留整数,返回45)",
|
||
"type": "integer"
|
||
},
|
||
"gender": {
|
||
"description": "性别 0:女 1:男 2:其他",
|
||
"type": "integer"
|
||
},
|
||
"height": {
|
||
"description": "身高 厘米",
|
||
"type": "integer"
|
||
},
|
||
"hip": {
|
||
"description": "臀围 英寸",
|
||
"type": "integer"
|
||
},
|
||
"len": {
|
||
"description": "长度 毫米(前端可以显示为厘米,如145毫米,显示为14.5厘米,返回后端时,乘以10,保留整数,返回145)",
|
||
"type": "integer"
|
||
},
|
||
"waist": {
|
||
"description": "腰围 英寸",
|
||
"type": "integer"
|
||
},
|
||
"weight": {
|
||
"description": "体重 公斤",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"contactusmod.ContactUsModel": {
|
||
"type": "object",
|
||
"properties": {
|
||
"categoryName": {
|
||
"description": "主旨分类",
|
||
"type": "string"
|
||
},
|
||
"content": {
|
||
"description": "内容",
|
||
"type": "string"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "邮件",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "string"
|
||
},
|
||
"ip": {
|
||
"description": "评论IP",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "名字",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "状态 0=初始 1=已回复 2=不予处理 3=已完结",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"contenttagmod.ContentTagType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
1,
|
||
5
|
||
],
|
||
"x-enum-comments": {
|
||
"ContentTagTypePlaylet": "短剧",
|
||
"ContentTagTypeVideo": "视频"
|
||
},
|
||
"x-enum-varnames": [
|
||
"ContentTagTypeVideo",
|
||
"ContentTagTypePlaylet"
|
||
]
|
||
},
|
||
"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"
|
||
}
|
||
}
|
||
},
|
||
"hotnavmod.HotNav": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"icon": {
|
||
"description": "图标",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
},
|
||
"intro": {
|
||
"description": "介绍",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"description": "链接",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"ipblackmod.IPBlackModel": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"ip": {
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"playletchaptermod.PayType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"x-enum-comments": {
|
||
"PayTypeCoin": "金币",
|
||
"PayTypeFree": "免费",
|
||
"PayTypeVip": "VIP"
|
||
},
|
||
"x-enum-varnames": [
|
||
"PayTypeFree",
|
||
"PayTypeCoin",
|
||
"PayTypeVip"
|
||
]
|
||
},
|
||
"playletchaptermod.WatermarkStatus": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3,
|
||
4
|
||
],
|
||
"x-enum-comments": {
|
||
"WatermarkStatusDone": "已完成",
|
||
"WatermarkStatusFailed": "处理失败",
|
||
"WatermarkStatusPending": "未处理(待 mediafile/sync)",
|
||
"WatermarkStatusProcessing": "处理中(已提交加水印任务,待回写)",
|
||
"WatermarkStatusRegistered": "已登记(原片已登记,待 task/add)"
|
||
},
|
||
"x-enum-varnames": [
|
||
"WatermarkStatusPending",
|
||
"WatermarkStatusRegistered",
|
||
"WatermarkStatusProcessing",
|
||
"WatermarkStatusDone",
|
||
"WatermarkStatusFailed"
|
||
]
|
||
},
|
||
"playletmod.ContentType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3,
|
||
4
|
||
],
|
||
"x-enum-comments": {
|
||
"ContentTypeAlbum": "普通短剧/影集(对应 media_type=6)",
|
||
"ContentTypeAnime": "动漫(对应 media_type=1)",
|
||
"ContentTypeComic": "漫画短剧(对应 media_type=4)",
|
||
"ContentTypeManga": "漫画(对应 media_type=2)",
|
||
"ContentTypeTheater": "短剧(对应 media_type=5)"
|
||
},
|
||
"x-enum-varnames": [
|
||
"ContentTypeTheater",
|
||
"ContentTypeAlbum",
|
||
"ContentTypeComic",
|
||
"ContentTypeAnime",
|
||
"ContentTypeManga"
|
||
]
|
||
},
|
||
"playletmod.PayType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"x-enum-comments": {
|
||
"PayTypeCoin": "金币",
|
||
"PayTypeFree": "免费",
|
||
"PayTypeVip": "VIP"
|
||
},
|
||
"x-enum-varnames": [
|
||
"PayTypeFree",
|
||
"PayTypeCoin",
|
||
"PayTypeVip"
|
||
]
|
||
},
|
||
"playletmod.Status": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1
|
||
],
|
||
"x-enum-comments": {
|
||
"StatusDown": "下架",
|
||
"StatusUp": "上架"
|
||
},
|
||
"x-enum-varnames": [
|
||
"StatusDown",
|
||
"StatusUp"
|
||
]
|
||
},
|
||
"proto.ContentTagAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"name",
|
||
"status",
|
||
"types"
|
||
],
|
||
"properties": {
|
||
"name": {
|
||
"description": "标签名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,不传则按 SEO 关键词或名称自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "状态 true-启用 false-停用",
|
||
"type": "boolean"
|
||
},
|
||
"types": {
|
||
"description": "支持类型 1-视频 5-短剧",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/contenttagmod.ContentTagType"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagAddResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagListPageResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"description": "当前页数据"
|
||
},
|
||
"pageNum": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"description": "每页数量",
|
||
"type": "integer"
|
||
},
|
||
"totalCount": {
|
||
"description": "总数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagOptionItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"bindCount": {
|
||
"description": "当前查询类型的绑定数量,不传type时返回0",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "标签名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"typeNames": {
|
||
"description": "支持类型名称",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"types": {
|
||
"description": "支持类型 1-视频 5-短剧",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/contenttagmod.ContentTagType"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagOptionResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"description": "标签下拉列表",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/proto.ContentTagOptionItem"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.ContentTagUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "标签名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,历史数据为空时更新会自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "状态 true-启用 false-停用",
|
||
"type": "boolean"
|
||
},
|
||
"types": {
|
||
"description": "支持类型 1-视频 5-短剧",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/contenttagmod.ContentTagType"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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.PlayletAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"title"
|
||
],
|
||
"properties": {
|
||
"anchor": {
|
||
"description": "作者/演员",
|
||
"type": "string"
|
||
},
|
||
"banner": {
|
||
"description": "banner图",
|
||
"type": "string"
|
||
},
|
||
"categoryIds": {
|
||
"description": "分类ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"contentType": {
|
||
"description": "内容类型,0-短剧、1-普通短剧/影集、2-漫画短剧、3-动漫、4-漫画",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.ContentType"
|
||
}
|
||
]
|
||
},
|
||
"cover": {
|
||
"description": "封面原图",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"isFeatured": {
|
||
"description": "是否爆剧,true-是、false-否",
|
||
"type": "boolean"
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐,true-推荐、false-不推荐",
|
||
"type": "boolean"
|
||
},
|
||
"payType": {
|
||
"description": "支付方式,0-免费、1-金币、2-VIP",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.PayType"
|
||
}
|
||
]
|
||
},
|
||
"preview": {
|
||
"description": "预告",
|
||
"type": "string"
|
||
},
|
||
"recommendRank": {
|
||
"description": "推荐排序",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"showOnBanner": {
|
||
"description": "是否显示在首页banner",
|
||
"type": "boolean"
|
||
},
|
||
"singleCoins": {
|
||
"description": "单集金币,支付方式为1-金币时生效",
|
||
"type": "integer"
|
||
},
|
||
"slug": {
|
||
"description": "slug,不传则按 SEO 关键词或标题自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "上架状态,0-下架、1-上架",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.Status"
|
||
}
|
||
]
|
||
},
|
||
"tagIds": {
|
||
"description": "标签ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"themeIds": {
|
||
"description": "题材ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"topRank": {
|
||
"description": "置顶排序",
|
||
"type": "integer"
|
||
},
|
||
"totalEpisode": {
|
||
"description": "总集数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletAddResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "短剧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.PlayletCategoryAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"name"
|
||
],
|
||
"properties": {
|
||
"icon": {
|
||
"description": "分类图标",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "分类名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,不传则按 SEO 关键词或名称自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "启用状态",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletCategoryAddResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletCategoryDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletCategoryListPageResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"description": "当前页数据"
|
||
},
|
||
"pageNum": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"description": "每页数量",
|
||
"type": "integer"
|
||
},
|
||
"totalCount": {
|
||
"description": "总数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletCategorySetReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"categoryIds": {
|
||
"description": "分类ID集合,可设置多个分类,传空数组表示清空分类,不传表示参数错误",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"ids": {
|
||
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletCategoryUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"icon": {
|
||
"description": "分类图标",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "分类名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,历史数据为空时更新会自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "启用状态",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletChapterAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"currentEpisode",
|
||
"playletId"
|
||
],
|
||
"properties": {
|
||
"currentEpisode": {
|
||
"description": "第几集",
|
||
"type": "integer"
|
||
},
|
||
"hash": {
|
||
"description": "媒体hash",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "视频高度",
|
||
"type": "integer"
|
||
},
|
||
"md5": {
|
||
"description": "媒体md5",
|
||
"type": "string"
|
||
},
|
||
"mediaSize": {
|
||
"description": "资源大小",
|
||
"type": "integer"
|
||
},
|
||
"mediaSourceId": {
|
||
"description": "media切片服原片ID,上传正片已创建原片时直接沿用",
|
||
"type": "string"
|
||
},
|
||
"mediaTime": {
|
||
"description": "影片长度,单位秒",
|
||
"type": "integer"
|
||
},
|
||
"payType": {
|
||
"description": "支付方式 0-免费 1-金币 2-VIP",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletchaptermod.PayType"
|
||
}
|
||
]
|
||
},
|
||
"playletId": {
|
||
"description": "短剧ID",
|
||
"type": "integer"
|
||
},
|
||
"ratio": {
|
||
"description": "宽高比",
|
||
"type": "number"
|
||
},
|
||
"singleCoins": {
|
||
"description": "单集金币,支付方式为1-金币时生效",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "剧集标题",
|
||
"type": "string"
|
||
},
|
||
"videoUrl": {
|
||
"description": "原片视频地址",
|
||
"type": "string"
|
||
},
|
||
"width": {
|
||
"description": "视频宽度",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletChapterAddResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "剧集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-金币时必填且需大于0",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"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": {
|
||
"description": "第几集",
|
||
"type": "integer"
|
||
},
|
||
"hash": {
|
||
"description": "媒体hash",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "视频高度",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "剧集ID",
|
||
"type": "integer"
|
||
},
|
||
"md5": {
|
||
"description": "媒体md5",
|
||
"type": "string"
|
||
},
|
||
"mediaSize": {
|
||
"description": "资源大小",
|
||
"type": "integer"
|
||
},
|
||
"mediaTime": {
|
||
"description": "影片长度,单位秒",
|
||
"type": "integer"
|
||
},
|
||
"payType": {
|
||
"description": "支付方式 0-免费 1-金币 2-VIP",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletchaptermod.PayType"
|
||
}
|
||
]
|
||
},
|
||
"ratio": {
|
||
"description": "宽高比",
|
||
"type": "number"
|
||
},
|
||
"singleCoins": {
|
||
"description": "单集金币,支付方式为1-金币时生效",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "剧集标题",
|
||
"type": "string"
|
||
},
|
||
"videoUrl": {
|
||
"description": "原片视频地址",
|
||
"type": "string"
|
||
},
|
||
"width": {
|
||
"description": "视频宽度",
|
||
"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.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-金币时必填且需大于0",
|
||
"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.PlayletResourceListItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"anchor": {
|
||
"description": "作者",
|
||
"type": "string"
|
||
},
|
||
"create_time": {
|
||
"description": "创建时间",
|
||
"type": "integer"
|
||
},
|
||
"data_version": {
|
||
"description": "数据版本",
|
||
"type": "integer"
|
||
},
|
||
"horizontal_cover": {
|
||
"description": "横版封面",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"isAdd": {
|
||
"description": "是否已加入后台数据",
|
||
"type": "boolean"
|
||
},
|
||
"media_type": {
|
||
"description": "媒体类型",
|
||
"type": "integer"
|
||
},
|
||
"sale_coin": {
|
||
"description": "整部售价",
|
||
"type": "integer"
|
||
},
|
||
"summary": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"tags_text": {
|
||
"description": "标签文字",
|
||
"type": "string"
|
||
},
|
||
"terminal_cdo": {
|
||
"description": "上传者",
|
||
"type": "string"
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"total_episode": {
|
||
"description": "总集数",
|
||
"type": "integer"
|
||
},
|
||
"update_status": {
|
||
"description": "更新状态 1-连载中 2-已完结",
|
||
"type": "integer"
|
||
},
|
||
"update_time": {
|
||
"description": "修改时间",
|
||
"type": "integer"
|
||
},
|
||
"vertical_cover": {
|
||
"description": "竖版封面",
|
||
"type": "string"
|
||
},
|
||
"vlogger_id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletResourceListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/proto.PlayletResourceListItem"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletResourceUseReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "媒资中心资源ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletStatusSetReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"status": {
|
||
"description": "上架状态,0-下架、1-上架",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.Status"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletTagAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"name"
|
||
],
|
||
"properties": {
|
||
"name": {
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
},
|
||
"status": {
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeAddReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"name"
|
||
],
|
||
"properties": {
|
||
"icon": {
|
||
"description": "题材图标",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "题材名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,不传则按 SEO 关键词或名称自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeAddResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "题材ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"description": "题材ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeListPageResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"description": "当前页数据"
|
||
},
|
||
"pageNum": {
|
||
"description": "当前页码",
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"description": "每页数量",
|
||
"type": "integer"
|
||
},
|
||
"totalCount": {
|
||
"description": "总数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeSetReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "短剧ID集合,传1个表示单条设置,传多个表示批量设置",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"themeIds": {
|
||
"description": "题材ID集合,可设置多个题材",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletThemeUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"icon": {
|
||
"description": "题材图标",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "题材ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "题材名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序,越大越靠前",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,历史数据为空时更新会自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"proto.PlayletUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"anchor": {
|
||
"description": "作者/演员",
|
||
"type": "string"
|
||
},
|
||
"banner": {
|
||
"description": "banner图",
|
||
"type": "string"
|
||
},
|
||
"categoryIds": {
|
||
"description": "分类ID集合,传空数组表示清空分类",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"contentType": {
|
||
"description": "内容类型,0-短剧、1-普通短剧/影集、2-漫画短剧、3-动漫、4-漫画",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.ContentType"
|
||
}
|
||
]
|
||
},
|
||
"cover": {
|
||
"description": "封面原图",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "短剧ID",
|
||
"type": "integer"
|
||
},
|
||
"isFeatured": {
|
||
"description": "是否爆剧,true-是、false-否",
|
||
"type": "boolean"
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐,true-推荐、false-不推荐",
|
||
"type": "boolean"
|
||
},
|
||
"payType": {
|
||
"description": "支付方式,0-免费、1-金币、2-VIP",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.PayType"
|
||
}
|
||
]
|
||
},
|
||
"preview": {
|
||
"description": "预告",
|
||
"type": "string"
|
||
},
|
||
"recommendRank": {
|
||
"description": "推荐排序",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"showOnBanner": {
|
||
"description": "是否显示在首页banner",
|
||
"type": "boolean"
|
||
},
|
||
"singleCoins": {
|
||
"description": "单集金币,支付方式为1-金币时生效",
|
||
"type": "integer"
|
||
},
|
||
"slug": {
|
||
"description": "slug,历史数据为空时更新会自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "上架状态,0-下架、1-上架",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/playletmod.Status"
|
||
}
|
||
]
|
||
},
|
||
"tagIds": {
|
||
"description": "标签ID集合,传空数组表示清空标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"themeIds": {
|
||
"description": "题材ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"topRank": {
|
||
"description": "置顶排序",
|
||
"type": "integer"
|
||
},
|
||
"totalEpisode": {
|
||
"description": "总集数",
|
||
"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"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"proto.SlugSyncReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"maxSize": {
|
||
"description": "本次最多处理的空 slug 记录数,默认500,最大2000",
|
||
"type": "integer"
|
||
},
|
||
"type": {
|
||
"description": "可选,指定类型;空则按顺序处理全部",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"proto.SlugSyncResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"actressUpdated": {
|
||
"description": "本次补齐的女优数",
|
||
"type": "integer"
|
||
},
|
||
"contentTagUpdated": {
|
||
"description": "本次补齐的统一标签数",
|
||
"type": "integer"
|
||
},
|
||
"hasMore": {
|
||
"description": "是否还有未处理的历史数据",
|
||
"type": "boolean"
|
||
},
|
||
"playletCategoryUpdated": {
|
||
"description": "本次补齐的短剧分类数",
|
||
"type": "integer"
|
||
},
|
||
"playletThemeUpdated": {
|
||
"description": "本次补齐的短剧主题数",
|
||
"type": "integer"
|
||
},
|
||
"playletUpdated": {
|
||
"description": "本次补齐的短剧数",
|
||
"type": "integer"
|
||
},
|
||
"totalUpdated": {
|
||
"description": "本次合计补齐数",
|
||
"type": "integer"
|
||
},
|
||
"videoCategoryUpdated": {
|
||
"description": "本次补齐的视频分类数",
|
||
"type": "integer"
|
||
},
|
||
"videoCreaterUpdated": {
|
||
"description": "本次补齐的作者数",
|
||
"type": "integer"
|
||
},
|
||
"videoUpdated": {
|
||
"description": "本次补齐的视频数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"pubdef.CategoryDisplayPosition": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"x-enum-comments": {
|
||
"CategoryDisplayPositionBoth": "TAB和首页都显示",
|
||
"CategoryDisplayPositionHomeOnly": "仅首页",
|
||
"CategoryDisplayPositionTabOnly": "仅TAB"
|
||
},
|
||
"x-enum-varnames": [
|
||
"CategoryDisplayPositionTabOnly",
|
||
"CategoryDisplayPositionHomeOnly",
|
||
"CategoryDisplayPositionBoth"
|
||
]
|
||
},
|
||
"pubdef.CategorySortType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3,
|
||
4,
|
||
5,
|
||
6,
|
||
7,
|
||
8
|
||
],
|
||
"x-enum-comments": {
|
||
"CategorySortTypeAddedTimeAsc": "上架时间升序",
|
||
"CategorySortTypeAddedTimeDesc": "上架时间降序",
|
||
"CategorySortTypeLikeAsc": "点赞(收藏)次数升序",
|
||
"CategorySortTypeLikeDesc": "点赞(收藏)次数降序",
|
||
"CategorySortTypeSortType": "自定义排序",
|
||
"CategorySortTypeUpdateTimeAsc": "更新时间升序",
|
||
"CategorySortTypeUpdateTimeDesc": "更新时间降序",
|
||
"CategorySortTypeWatchAsc": "观看次数升序",
|
||
"CategorySortTypeWatchDesc": "观看次数降序"
|
||
},
|
||
"x-enum-varnames": [
|
||
"CategorySortTypeAddedTimeDesc",
|
||
"CategorySortTypeWatchDesc",
|
||
"CategorySortTypeLikeDesc",
|
||
"CategorySortTypeAddedTimeAsc",
|
||
"CategorySortTypeWatchAsc",
|
||
"CategorySortTypeLikeAsc",
|
||
"CategorySortTypeUpdateTimeDesc",
|
||
"CategorySortTypeUpdateTimeAsc",
|
||
"CategorySortTypeSortType"
|
||
]
|
||
},
|
||
"pubdef.CommentObjectType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
4
|
||
],
|
||
"x-enum-comments": {
|
||
"CommentObjectTypePlaylet": "短剧",
|
||
"CommentObjectTypeVideo": "视频"
|
||
},
|
||
"x-enum-varnames": [
|
||
"CommentObjectTypeVideo",
|
||
"CommentObjectTypePlaylet"
|
||
]
|
||
},
|
||
"pubdef.DisplayMode": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3,
|
||
4
|
||
],
|
||
"x-enum-comments": {
|
||
"DisplayModeAvatarList": "头像列表",
|
||
"DisplayModeBigCover": "大封面列表(一大图两列)",
|
||
"DisplayModeCardCarousel": "卡片层叠轮播",
|
||
"DisplayModeDefault": "默认(上图下标题多列)",
|
||
"DisplayModeImageText": "图文列表(左图右标题多列)"
|
||
},
|
||
"x-enum-varnames": [
|
||
"DisplayModeDefault",
|
||
"DisplayModeCardCarousel",
|
||
"DisplayModeAvatarList",
|
||
"DisplayModeImageText",
|
||
"DisplayModeBigCover"
|
||
]
|
||
},
|
||
"pubdef.FakeFlow": {
|
||
"type": "object",
|
||
"properties": {
|
||
"likes": {
|
||
"description": "假点赞数",
|
||
"type": "integer"
|
||
},
|
||
"watchTimes": {
|
||
"description": "假观看次数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"pubdef.Flow": {
|
||
"type": "object",
|
||
"properties": {
|
||
"comments": {
|
||
"description": "评论条数",
|
||
"type": "integer"
|
||
},
|
||
"likes": {
|
||
"description": "真实点赞数(收藏总量)",
|
||
"type": "integer"
|
||
},
|
||
"monthLikes": {
|
||
"description": "近30日收藏量",
|
||
"type": "integer"
|
||
},
|
||
"monthWatchs": {
|
||
"description": "本月观看次数",
|
||
"type": "integer"
|
||
},
|
||
"showTimes": {
|
||
"description": "展示次数",
|
||
"type": "integer"
|
||
},
|
||
"todayWatchs": {
|
||
"description": "当日观看次数",
|
||
"type": "integer"
|
||
},
|
||
"watchTimes": {
|
||
"description": "真实观看次数",
|
||
"type": "integer"
|
||
},
|
||
"weekLikes": {
|
||
"description": "近7日收藏量",
|
||
"type": "integer"
|
||
},
|
||
"weekWatchs": {
|
||
"description": "本周观看次数",
|
||
"type": "integer"
|
||
},
|
||
"yearLikes": {
|
||
"description": "近365日收藏量",
|
||
"type": "integer"
|
||
},
|
||
"yearWatchs": {
|
||
"description": "本年观看次数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"pubdef.InformationStatus": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2
|
||
],
|
||
"x-enum-comments": {
|
||
"InformationStatusVerifyCancel": "下架",
|
||
"InformationStatusVerifyOK": "上架",
|
||
"InformationStatusWaiting": "初始化"
|
||
},
|
||
"x-enum-varnames": [
|
||
"InformationStatusWaiting",
|
||
"InformationStatusVerifyOK",
|
||
"InformationStatusVerifyCancel"
|
||
]
|
||
},
|
||
"pubdef.LoginType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3
|
||
],
|
||
"x-enum-comments": {
|
||
"LoginTypeAccount": "账号登陆",
|
||
"LoginTypeDevice": "设备登陆",
|
||
"LoginTypeMobile": "手机登陆",
|
||
"LoginTypeQrCode": "二维码登陆"
|
||
},
|
||
"x-enum-varnames": [
|
||
"LoginTypeDevice",
|
||
"LoginTypeMobile",
|
||
"LoginTypeQrCode",
|
||
"LoginTypeAccount"
|
||
]
|
||
},
|
||
"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"
|
||
]
|
||
},
|
||
"questionnairemod.Attachment": {
|
||
"type": "object",
|
||
"properties": {
|
||
"fileType": {
|
||
"description": "附件类型(img / video)",
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"description": "附件URL地址",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"questionnairemod.QuestionnaireModel": {
|
||
"type": "object",
|
||
"properties": {
|
||
"attachments": {
|
||
"description": "附件列表,最多3个",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/questionnairemod.Attachment"
|
||
}
|
||
},
|
||
"city": {
|
||
"description": "所在城市(选填)",
|
||
"type": "string"
|
||
},
|
||
"contact": {
|
||
"description": "联系方式(选填)",
|
||
"type": "string"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间(自动生成)",
|
||
"type": "string"
|
||
},
|
||
"description": {
|
||
"description": "问题描述(必填)",
|
||
"type": "string"
|
||
},
|
||
"deviceModel": {
|
||
"description": "设备型号(选填)",
|
||
"type": "string"
|
||
},
|
||
"deviceType": {
|
||
"description": "设备类型:iPhone、Android、iPad、其他",
|
||
"type": "string"
|
||
},
|
||
"frequency": {
|
||
"description": "出现频率:每次都会、经常出现、偶尔出现、仅现一次",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "唯一标识(MongoDB自动生成)",
|
||
"type": "string"
|
||
},
|
||
"networkType": {
|
||
"description": "网络类型:WI-FI、5G、4G、其他",
|
||
"type": "string"
|
||
},
|
||
"operator": {
|
||
"description": "运营商:电信、联通、移动、广电",
|
||
"type": "string"
|
||
},
|
||
"province": {
|
||
"description": "所在省份(必填)",
|
||
"type": "string"
|
||
},
|
||
"questionType": {
|
||
"description": "问题类型:播放卡顿/缓冲、无法播放、画质模糊、音画不同步、加载失败、闪退/崩溃、登录异常、其他问题",
|
||
"type": "string"
|
||
},
|
||
"remark": {
|
||
"description": "备注,处理问卷时填写(选填)",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "处理状态:待处理、已处理、拒绝",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间(自动更新)",
|
||
"type": "string"
|
||
},
|
||
"userId": {
|
||
"description": "App端登录用户ID,0表示匿名",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"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_actress.ActressAddReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"alias": {
|
||
"description": "别名",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"bornDate": {
|
||
"description": "出生日期",
|
||
"type": "string"
|
||
},
|
||
"cover": {
|
||
"description": "封面大图",
|
||
"type": "string"
|
||
},
|
||
"debutDate": {
|
||
"description": "出道日期",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"hotValue": {
|
||
"description": "热度值",
|
||
"type": "integer"
|
||
},
|
||
"meas": {
|
||
"description": "三围",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/actress.Meas"
|
||
}
|
||
]
|
||
},
|
||
"office": {
|
||
"description": "事务所",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"region": {
|
||
"description": "地区/国家",
|
||
"type": "string"
|
||
},
|
||
"score": {
|
||
"description": "评分",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug,不传则按 SEO 关键词或别名自动生成",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "关联导航分类id",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_actress.ActressDelReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_actress.ActressListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"alias": {
|
||
"description": "别名",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "Id",
|
||
"type": "integer"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"region": {
|
||
"description": "地区/国家",
|
||
"type": "string"
|
||
},
|
||
"sortType": {
|
||
"description": "排序方式 0=创建时间 1=评分 2=排序值 3=作品数 4=总观看次数 5=热度值",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "关联导航分类id",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_actress.ActressListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/actress.Actress"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_actress.ActressUpdateParam": {
|
||
"type": "object",
|
||
"properties": {
|
||
"alias": {
|
||
"description": "别名",
|
||
"type": "string"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"bornDate": {
|
||
"description": "出生日期",
|
||
"type": "string"
|
||
},
|
||
"cover": {
|
||
"description": "封面大图",
|
||
"type": "string"
|
||
},
|
||
"debutDate": {
|
||
"description": "出道日期",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"hotValue": {
|
||
"description": "热度值",
|
||
"type": "integer"
|
||
},
|
||
"meas": {
|
||
"description": "三围",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/actress.Meas"
|
||
}
|
||
]
|
||
},
|
||
"office": {
|
||
"description": "事务所",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"region": {
|
||
"description": "地区/国家",
|
||
"type": "string"
|
||
},
|
||
"score": {
|
||
"description": "评分",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "关联导航分类id",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_actress.ActressUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id",
|
||
"param"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"param": {
|
||
"$ref": "#/definitions/srv_actress.ActressUpdateParam"
|
||
}
|
||
}
|
||
},
|
||
"srv_commend.CommendReplay": {
|
||
"type": "object",
|
||
"properties": {
|
||
"objectId": {
|
||
"description": "对象ID",
|
||
"type": "integer"
|
||
},
|
||
"parentsId": {
|
||
"description": "评论ID",
|
||
"type": "integer"
|
||
},
|
||
"score": {
|
||
"description": "评分",
|
||
"type": "integer"
|
||
},
|
||
"text": {
|
||
"description": "评论内容",
|
||
"type": "string"
|
||
},
|
||
"userName": {
|
||
"description": "用户名",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_commend.CommendReviewReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"reviewStatus": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_commend.CommendSearch": {
|
||
"type": "object",
|
||
"properties": {
|
||
"level": {
|
||
"description": "评论级别",
|
||
"type": "integer"
|
||
},
|
||
"objectId": {
|
||
"description": "对象ID",
|
||
"type": "integer"
|
||
},
|
||
"objectType": {
|
||
"description": "对象类型 0=视频 4=短剧",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CommentObjectType"
|
||
}
|
||
]
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"reviewStatus": {
|
||
"type": "integer"
|
||
},
|
||
"text": {
|
||
"description": "评论内容",
|
||
"type": "string"
|
||
},
|
||
"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": {
|
||
"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": "对象类型 0=视频 4=短剧",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CommentObjectType"
|
||
}
|
||
]
|
||
},
|
||
"parentsId": {
|
||
"description": "上级评论ID",
|
||
"type": "integer"
|
||
},
|
||
"replyUserName": {
|
||
"description": "回复名称",
|
||
"type": "string"
|
||
},
|
||
"reviewStatus": {
|
||
"description": "审核状态 0 未审核 1审核成功 2 审核失败",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "评论用户的状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.UserStatus"
|
||
}
|
||
]
|
||
},
|
||
"text": {
|
||
"description": "评论内容",
|
||
"type": "string"
|
||
},
|
||
"topRank": {
|
||
"description": "置顶排序",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"userName": {
|
||
"description": "用户名称",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_contactus.DelOneContactusReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_contactus.GetContactusListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"categoryName": {
|
||
"description": "分类",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "邮箱",
|
||
"type": "string"
|
||
},
|
||
"ip": {
|
||
"description": "ip",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "姓名",
|
||
"type": "string"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_contactus.GetContactusListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/contactusmod.ContactUsModel"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_contactus.UpdateContactusReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"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_hotnav.AddHotNavReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"title",
|
||
"url"
|
||
],
|
||
"properties": {
|
||
"icon": {
|
||
"description": "图标",
|
||
"type": "string"
|
||
},
|
||
"intro": {
|
||
"description": "介绍",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "是否启用",
|
||
"type": "boolean"
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"description": "链接",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_hotnav.DelHotNavReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_hotnav.GetHotNavListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_hotnav.GetHotNavListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/hotnavmod.HotNav"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_hotnav.UpdateHotNavParam": {
|
||
"type": "object",
|
||
"properties": {
|
||
"icon": {
|
||
"type": "string"
|
||
},
|
||
"intro": {
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"type": "boolean"
|
||
},
|
||
"title": {
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_hotnav.UpdateHotNavReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"param": {
|
||
"$ref": "#/definitions/srv_hotnav.UpdateHotNavParam"
|
||
}
|
||
}
|
||
},
|
||
"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_questionnaire.HandleReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id",
|
||
"status"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"description": "问卷ID(ObjectID 字符串)",
|
||
"type": "string"
|
||
},
|
||
"remark": {
|
||
"description": "备注(选填)",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "目标状态:processed 已处理 / reject 拒绝",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_questionnaire.ListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"endTime": {
|
||
"description": "创建时间范围-结束,Unix 时间戳(秒,选填)",
|
||
"type": "integer"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"questionType": {
|
||
"description": "模糊匹配:问题类型(选填)",
|
||
"type": "string"
|
||
},
|
||
"startTime": {
|
||
"description": "创建时间范围-开始,Unix 时间戳(秒,选填)",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "精确匹配:处理状态(选填)",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_questionnaire.ListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"description": "当前页数据",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/questionnairemod.QuestionnaireModel"
|
||
}
|
||
},
|
||
"total": {
|
||
"description": "满足条件的总条数",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"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.TranslationCategoryDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_translationcategory.TranslationCategoryReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "导航分类ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "导航分类名称",
|
||
"type": "string"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_translationcategory.TranslationCategoryResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/translationcategorymod.TranslationCategory"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_translationcategory.TranslationCategoryUpdate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"appId": {
|
||
"description": "appId,唯一id",
|
||
"type": "integer"
|
||
},
|
||
"categoryType": {
|
||
"description": "导航类型 1=url跳转 2=二级导航 3=底部导航",
|
||
"type": "integer"
|
||
},
|
||
"icon": {
|
||
"description": "Icon",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"updatedAt": {
|
||
"type": "string"
|
||
},
|
||
"urlValue": {
|
||
"description": "跳转URL",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_translationcategory.TranslationCategoryUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"param": {
|
||
"description": "appId,唯一id",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/srv_translationcategory.TranslationCategoryUpdate"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"srv_user.UserListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"description": "用户ID",
|
||
"type": "integer"
|
||
},
|
||
"nickName": {
|
||
"description": "昵称(模糊)",
|
||
"type": "string"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.UserStatus"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"srv_user.UserListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/usermod.User"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_user.UserUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"param": {
|
||
"$ref": "#/definitions/usermod.UserUpdate"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocategory.VideoCategoryDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocategory.VideoCategoryReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"displayPosition": {
|
||
"description": "显示位置 0=仅TAB 1=仅首页 2=两者都显示",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategoryDisplayPosition"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"description": "分类 ID",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "分类名称(模糊匹配)",
|
||
"type": "string"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"sortType": {
|
||
"description": "排序方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategorySortType"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"srv_videocategory.VideoCategoryResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videocategorymod.VideoCategory"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocategory.VideoCategoryUpdate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"desc": {
|
||
"description": "描述",
|
||
"type": "string"
|
||
},
|
||
"displayMode": {
|
||
"description": "展示方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.DisplayMode"
|
||
}
|
||
]
|
||
},
|
||
"displayPosition": {
|
||
"description": "显示位置 0=仅TAB 1=仅首页 2=两者都显示",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategoryDisplayPosition"
|
||
}
|
||
]
|
||
},
|
||
"indexNow": {
|
||
"type": "integer"
|
||
},
|
||
"isReIndexNow": {
|
||
"description": "是否重新提交索引",
|
||
"type": "boolean"
|
||
},
|
||
"name": {
|
||
"description": "名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"sortType": {
|
||
"description": "排序方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategorySortType"
|
||
}
|
||
]
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"tags": {
|
||
"description": "关联视频标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "APP显示",
|
||
"type": "string"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "导航分类",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocollection.CollectionMediaInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"coverImg": {
|
||
"description": "封面",
|
||
"type": "string"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"nodes": {
|
||
"description": "节点",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videoinformationmod.Node"
|
||
}
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "帖子上架状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.InformationStatus"
|
||
}
|
||
]
|
||
},
|
||
"title": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"video": {
|
||
"description": "视频",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.VideoInfo"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"srv_videocollection.GetCollectionMediaListReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"collectionID": {
|
||
"type": "integer"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocollection.GetCollectionMediaListResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/srv_videocollection.CollectionMediaInfo"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocollection.UpdateCollectionMediaRankReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"collectionID": {
|
||
"description": "合集ID",
|
||
"type": "integer"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"videoId": {
|
||
"description": "视频ID",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocollection.VideoCollectionOptionMediaReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"collectionID": {
|
||
"description": "合集ID",
|
||
"type": "integer"
|
||
},
|
||
"isAdd": {
|
||
"description": "增加还是移除",
|
||
"type": "boolean"
|
||
},
|
||
"videoIds": {
|
||
"description": "视频ID",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videocreater.VideoCreaterDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocreater.VideoCreaterReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocreater.VideoCreaterResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videocreatermod.VideoCreaterInfo"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videocreater.VideoCreaterUpdate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"appId": {
|
||
"description": "appId,唯一id",
|
||
"type": "integer"
|
||
},
|
||
"background": {
|
||
"description": "背景",
|
||
"type": "string"
|
||
},
|
||
"createType": {
|
||
"description": "创作者类型 0=普通 1=官方",
|
||
"type": "integer"
|
||
},
|
||
"desc": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"image": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"isReIndexNow": {
|
||
"description": "是否重新提交索引",
|
||
"type": "boolean"
|
||
},
|
||
"mediaTypes": {
|
||
"description": "作者关联的资源类型 1视频",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"name": {
|
||
"description": "名称",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"updatedAt": {
|
||
"type": "string"
|
||
},
|
||
"works": {
|
||
"description": "作品数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.AddVideoCollectionReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"coverImg": {
|
||
"description": "封面",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"firstTag": {
|
||
"description": "一级标签",
|
||
"type": "string"
|
||
},
|
||
"keyworld": {
|
||
"description": "关键字",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"secondTags": {
|
||
"description": "二级标签标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"tags": {
|
||
"description": "标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.AddVideoReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"fileId": {
|
||
"description": "资源id",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SetFakeCountResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"matchedCount": {
|
||
"description": "匹配到的视频数量",
|
||
"type": "integer"
|
||
},
|
||
"modifiedCount": {
|
||
"description": "实际修改的视频数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SetFakeLikesReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "视频ID集合,支持单个或批量",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"likesMax": {
|
||
"description": "假点赞数随机最大值,包含该值",
|
||
"type": "integer"
|
||
},
|
||
"likesMin": {
|
||
"description": "假点赞数随机最小值,包含该值",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SetFakeWatchTimesReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "视频ID集合,支持单个或批量",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"watchTimesMax": {
|
||
"description": "假观看次数随机最大值,包含该值",
|
||
"type": "integer"
|
||
},
|
||
"watchTimesMin": {
|
||
"description": "假观看次数随机最小值,包含该值",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SetRecommendReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"ids": {
|
||
"description": "视频ID集合,传1个表示单条设置,传多个表示批量设置",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐 true-推荐 false-不推荐",
|
||
"type": "boolean"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SyncMediaFileItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"bango": {
|
||
"type": "string"
|
||
},
|
||
"coverImg": {
|
||
"type": "string"
|
||
},
|
||
"fieldNameFs": {
|
||
"type": "string"
|
||
},
|
||
"firstTag": {
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"type": "string"
|
||
},
|
||
"keyworld": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"publish": {
|
||
"type": "string"
|
||
},
|
||
"secondTags": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"taskId": {
|
||
"type": "string"
|
||
},
|
||
"title": {
|
||
"type": "string"
|
||
},
|
||
"videoTime": {
|
||
"type": "integer"
|
||
},
|
||
"width": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.SyncMediaFileReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"fileId": {
|
||
"description": "媒资库影片 ID",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"firstTagMap": {
|
||
"description": "覆盖一级标签",
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"minVideoSeconds": {
|
||
"description": "最短时长,0 表示不限制",
|
||
"type": "integer"
|
||
},
|
||
"sourceVersion": {
|
||
"description": "v1 / v2",
|
||
"type": "string"
|
||
},
|
||
"videoList": {
|
||
"description": "媒资库搜索结果,优先使用",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/srv_videoinfo.SyncMediaFileItem"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoAddTagsReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"tags",
|
||
"videoIds"
|
||
],
|
||
"properties": {
|
||
"tags": {
|
||
"description": "统一标签ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"videoIds": {
|
||
"description": "视频ID集合",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoInfoDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoInfoReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"actressIds": {
|
||
"description": "女优ID",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"bango": {
|
||
"description": "番号,",
|
||
"type": "string"
|
||
},
|
||
"categoryId": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
},
|
||
"creatorId": {
|
||
"description": "作者Id",
|
||
"type": "integer"
|
||
},
|
||
"creatorName": {
|
||
"description": "作者名称",
|
||
"type": "string"
|
||
},
|
||
"endTime": {
|
||
"description": "创建时间-截止",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"isHot": {
|
||
"description": "是否热门",
|
||
"type": "boolean"
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐 true-推荐 false-不推荐",
|
||
"type": "boolean"
|
||
},
|
||
"isTop": {
|
||
"description": "是否置顶",
|
||
"type": "boolean"
|
||
},
|
||
"keyworld": {
|
||
"description": "关键字",
|
||
"type": "string"
|
||
},
|
||
"mediaType": {
|
||
"description": "资源类型",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.MediaType"
|
||
}
|
||
]
|
||
},
|
||
"optionAccount": {
|
||
"description": "最后操作人",
|
||
"type": "string"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"sort": {
|
||
"description": "排序方式 0=创建时间 1=上架时间 2=更新时间 3=排序值 4=播放次数。按分类查询且排序方式为排序值时,使用该分类的 categoryRanks 排序",
|
||
"type": "integer"
|
||
},
|
||
"startTime": {
|
||
"description": "创建时间-开始",
|
||
"type": "string"
|
||
},
|
||
"status": {
|
||
"description": "帖子上架状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.InformationStatus"
|
||
}
|
||
]
|
||
},
|
||
"tag": {
|
||
"description": "标签",
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"videoFileId": {
|
||
"description": "切片id(切片列表的ID)",
|
||
"type": "string"
|
||
},
|
||
"videoTaskId": {
|
||
"description": "视频任务id",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoInfoResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videoinformationmod.VideoInformation"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoInfoUpdate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"actressIds": {
|
||
"description": "女优ID",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"addedTime": {
|
||
"type": "string"
|
||
},
|
||
"bango": {
|
||
"description": "番号,唯一",
|
||
"type": "string"
|
||
},
|
||
"categoryId": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
},
|
||
"cover": {
|
||
"description": "视频封面",
|
||
"type": "string"
|
||
},
|
||
"coverImg": {
|
||
"description": "封面",
|
||
"type": "string"
|
||
},
|
||
"creatorId": {
|
||
"description": "作者Id",
|
||
"type": "integer"
|
||
},
|
||
"creatorName": {
|
||
"description": "作者名",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"firstTag": {
|
||
"description": "一级标签",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "分辨率高(视频才会存在)",
|
||
"type": "integer"
|
||
},
|
||
"indexNow": {
|
||
"type": "integer"
|
||
},
|
||
"isHot": {
|
||
"description": "是否热门",
|
||
"type": "boolean"
|
||
},
|
||
"isReIndexNow": {
|
||
"description": "是否重新提交索引",
|
||
"type": "boolean"
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐 true-推荐 false-不推荐",
|
||
"type": "boolean"
|
||
},
|
||
"isTop": {
|
||
"description": "是否置顶",
|
||
"type": "boolean"
|
||
},
|
||
"issuedAt": {
|
||
"description": "发行时间",
|
||
"type": "string"
|
||
},
|
||
"issuedBrand": {
|
||
"description": "发行商",
|
||
"type": "string"
|
||
},
|
||
"keyworld": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"mediaType": {
|
||
"description": "资源类型",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.MediaType"
|
||
}
|
||
]
|
||
},
|
||
"nodes": {
|
||
"description": "节点",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videoinformationmod.Node"
|
||
}
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"secondTags": {
|
||
"description": "二级标签标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"secondUpdatedAt": {
|
||
"description": "二次修改时间",
|
||
"type": "string"
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "帖子上架状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.InformationStatus"
|
||
}
|
||
]
|
||
},
|
||
"tags": {
|
||
"description": "标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
},
|
||
"unencryptedImage": {
|
||
"description": "不加密封面",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"video": {
|
||
"description": "视频",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.VideoInfo"
|
||
}
|
||
]
|
||
},
|
||
"videoTime": {
|
||
"description": "影片长度",
|
||
"type": "integer"
|
||
},
|
||
"width": {
|
||
"description": "分辨率宽(视频才会存在)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoInfoUpdateReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"param": {
|
||
"description": "appId,唯一id",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/srv_videoinfo.VideoInfoUpdate"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"srv_videoinfo.VideoSetTagsReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"ids"
|
||
],
|
||
"properties": {
|
||
"ids": {
|
||
"description": "视频ID集合,传1个表示单条设置,传多个表示批量设置",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"tagIds": {
|
||
"description": "标签ID集合,可设置多个标签,传空数组表示清空标签,不传表示参数错误",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.HotTagItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"tagId": {
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"type": "string"
|
||
},
|
||
"watchTimes": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.HotTagResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/srv_videotag.HotTagItem"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.IpStatReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"todayIP": {
|
||
"type": "integer"
|
||
},
|
||
"yesterdayIP": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.VideoTagInfoDelReq": {
|
||
"type": "object",
|
||
"required": [
|
||
"id"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.VideoTagInfoReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"pageNum": {
|
||
"type": "integer"
|
||
},
|
||
"pageSize": {
|
||
"type": "integer"
|
||
},
|
||
"title": {
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.VideoTagInfoResp": {
|
||
"type": "object",
|
||
"properties": {
|
||
"list": {
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videotagmod.VideoTagInfo"
|
||
}
|
||
},
|
||
"total": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"srv_videotag.VideoTagInfoUpdate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"appId": {
|
||
"description": "appId,唯一id",
|
||
"type": "integer"
|
||
},
|
||
"images": {
|
||
"description": "背景",
|
||
"type": "string"
|
||
},
|
||
"indexNow": {
|
||
"type": "integer"
|
||
},
|
||
"isReIndexNow": {
|
||
"description": "是否重新提交索引",
|
||
"type": "boolean"
|
||
},
|
||
"mediaTypes": {
|
||
"description": "作者关联的资源类型 1视频",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"title": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"type": "string"
|
||
},
|
||
"works": {
|
||
"description": "作品数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"translationcategorymod.TranslationCategory": {
|
||
"type": "object",
|
||
"properties": {
|
||
"categoryType": {
|
||
"description": "导航类型 1:url 2:二级导航 3:底部导航",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.TranslationType"
|
||
}
|
||
]
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"icon": {
|
||
"description": "Icon",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"description": "Id",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "分类名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"urlValue": {
|
||
"description": "跳转URL",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"translationmod.TranslationInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"htmlId": {
|
||
"description": "富文本ID",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "Id",
|
||
"type": "integer"
|
||
},
|
||
"isFriendAds": {
|
||
"description": "是否是友链广告位",
|
||
"type": "boolean"
|
||
},
|
||
"link": {
|
||
"description": "外部跳转",
|
||
"type": "string"
|
||
},
|
||
"name": {
|
||
"description": "分类名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"transCategoryId": {
|
||
"description": "导航分类",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"usermod.User": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountNo": {
|
||
"description": "账号",
|
||
"type": "string"
|
||
},
|
||
"age": {
|
||
"description": "年龄",
|
||
"type": "integer"
|
||
},
|
||
"agentInviteCode": {
|
||
"description": "被邀请的inviteCode",
|
||
"type": "string"
|
||
},
|
||
"appVer": {
|
||
"description": "app版本",
|
||
"type": "string"
|
||
},
|
||
"auth": {
|
||
"description": "是否认证",
|
||
"type": "boolean"
|
||
},
|
||
"avatar": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"backgroud": {
|
||
"description": "背景图",
|
||
"type": "string"
|
||
},
|
||
"consecutiveLogin": {
|
||
"description": "连续登陆天数",
|
||
"type": "integer"
|
||
},
|
||
"consumptionTotal": {
|
||
"description": "金币总消费数量",
|
||
"type": "integer"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"currentVipExpire": {
|
||
"description": "当前vip过期时间",
|
||
"type": "string"
|
||
},
|
||
"devID": {
|
||
"description": "设备唯一标示",
|
||
"type": "string"
|
||
},
|
||
"devV2": {
|
||
"description": "设备唯一设备ID",
|
||
"type": "string"
|
||
},
|
||
"device": {
|
||
"description": "设备",
|
||
"type": "string"
|
||
},
|
||
"districtCode": {
|
||
"description": "商区码",
|
||
"type": "string"
|
||
},
|
||
"gender": {
|
||
"description": "性别 0-未知,1-男,2-女",
|
||
"type": "integer"
|
||
},
|
||
"id": {
|
||
"description": "ID",
|
||
"type": "integer"
|
||
},
|
||
"introduction": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"inviteCode": {
|
||
"description": "邀请码",
|
||
"type": "string"
|
||
},
|
||
"invites": {
|
||
"description": "我邀请的人的个数(我邀请他人)",
|
||
"type": "integer"
|
||
},
|
||
"isRegister": {
|
||
"description": "是否已注册",
|
||
"type": "boolean"
|
||
},
|
||
"lastIp": {
|
||
"description": "上次登陆IP",
|
||
"type": "string"
|
||
},
|
||
"lastLoginAt": {
|
||
"description": "上次登陆时间",
|
||
"type": "string"
|
||
},
|
||
"loginType": {
|
||
"description": "登陆方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.LoginType"
|
||
}
|
||
]
|
||
},
|
||
"mac": {
|
||
"description": "设备唯一mac地址",
|
||
"type": "string"
|
||
},
|
||
"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"
|
||
},
|
||
"status": {
|
||
"description": "状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.UserStatus"
|
||
}
|
||
]
|
||
},
|
||
"sysMsgAt": {
|
||
"description": "获取系统消息时间",
|
||
"type": "string"
|
||
},
|
||
"sysType": {
|
||
"description": "系统类型 ios android",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"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"
|
||
},
|
||
"districtCode": {
|
||
"description": "商区码",
|
||
"type": "string"
|
||
},
|
||
"email": {
|
||
"description": "邮箱",
|
||
"type": "string"
|
||
},
|
||
"gender": {
|
||
"description": "性别 0-未知,1-男,2-女",
|
||
"type": "integer"
|
||
},
|
||
"introduction": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"inviteCode": {
|
||
"description": "邀请码",
|
||
"type": "string"
|
||
},
|
||
"invites": {
|
||
"description": "我邀请的人的个数(我邀请他人)",
|
||
"type": "integer"
|
||
},
|
||
"isRegister": {
|
||
"description": "是否已注册",
|
||
"type": "boolean"
|
||
},
|
||
"lastIp": {
|
||
"description": "上次登陆IP",
|
||
"type": "string"
|
||
},
|
||
"lastLoginAt": {
|
||
"description": "上次登陆时间",
|
||
"type": "string"
|
||
},
|
||
"loginType": {
|
||
"description": "登陆方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.LoginType"
|
||
}
|
||
]
|
||
},
|
||
"mac": {
|
||
"description": "设备唯一mac地址",
|
||
"type": "string"
|
||
},
|
||
"merchantExpiredAt": {
|
||
"description": "商家/兼职有效期",
|
||
"type": "string"
|
||
},
|
||
"modifyUserNameAt": {
|
||
"description": "上一次修改用户时间",
|
||
"type": "string"
|
||
},
|
||
"nickName": {
|
||
"description": "昵称",
|
||
"type": "string"
|
||
},
|
||
"oriVer": {
|
||
"description": "注册时的app版本",
|
||
"type": "string"
|
||
},
|
||
"password": {
|
||
"description": "登陆密码",
|
||
"type": "string"
|
||
},
|
||
"recharge": {
|
||
"description": "当前充值余额,金币个数",
|
||
"type": "integer"
|
||
},
|
||
"rechargeTotal": {
|
||
"description": "累计充值额,金币个数",
|
||
"type": "integer"
|
||
},
|
||
"regIp": {
|
||
"description": "注册IP",
|
||
"type": "string"
|
||
},
|
||
"region": {
|
||
"description": "地区",
|
||
"type": "string"
|
||
},
|
||
"registerTime": {
|
||
"type": "string"
|
||
},
|
||
"score": {
|
||
"description": "积分",
|
||
"type": "integer"
|
||
},
|
||
"scoreInvites": {
|
||
"description": "邀请人获得的积分累计",
|
||
"type": "integer"
|
||
},
|
||
"scoreLvName": {
|
||
"description": "积分等级名称",
|
||
"type": "string"
|
||
},
|
||
"scoreTotal": {
|
||
"description": "累计积分",
|
||
"type": "integer"
|
||
},
|
||
"showCardExpiredAt": {
|
||
"description": "最新会员卡过期时间",
|
||
"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"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"videocategorymod.VideoCategory": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "描述",
|
||
"type": "string"
|
||
},
|
||
"displayMode": {
|
||
"description": "展示方式 0:默认 1:卡片层叠轮播 2:头像列表 3:图文列表 4:大封面列表",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.DisplayMode"
|
||
}
|
||
]
|
||
},
|
||
"displayPosition": {
|
||
"description": "显示位置 0=仅TAB 1=仅首页 2=两者都显示",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategoryDisplayPosition"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"description": "Id",
|
||
"type": "integer"
|
||
},
|
||
"indexNow": {
|
||
"description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改",
|
||
"type": "integer"
|
||
},
|
||
"name": {
|
||
"description": "分类名称",
|
||
"type": "string"
|
||
},
|
||
"rank": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"sortType": {
|
||
"description": "排序方式",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.CategorySortType"
|
||
}
|
||
]
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"tags": {
|
||
"description": "关联视频标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "APP显示",
|
||
"type": "string"
|
||
},
|
||
"translationCategoryId": {
|
||
"description": "导航分类",
|
||
"type": "integer"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
}
|
||
}
|
||
},
|
||
"videocreatermod.VideoCreaterInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"background": {
|
||
"description": "背景",
|
||
"type": "string"
|
||
},
|
||
"createType": {
|
||
"description": "创作者类型 0=普通 1=官方",
|
||
"type": "integer"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "简介",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"image": {
|
||
"description": "头像",
|
||
"type": "string"
|
||
},
|
||
"indexNow": {
|
||
"description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改",
|
||
"type": "integer"
|
||
},
|
||
"mediaTypes": {
|
||
"description": "作者关联的资源类型 1视频",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"name": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"works": {
|
||
"description": "作品数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"videoinformationmod.HevcStatus": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
-1
|
||
],
|
||
"x-enum-comments": {
|
||
"HevcStatusFailed": "转码失败",
|
||
"HevcStatusNone": "未提交转码",
|
||
"HevcStatusPending": "转码中",
|
||
"HevcStatusSuccess": "转码成功"
|
||
},
|
||
"x-enum-varnames": [
|
||
"HevcStatusNone",
|
||
"HevcStatusPending",
|
||
"HevcStatusSuccess",
|
||
"HevcStatusFailed"
|
||
]
|
||
},
|
||
"videoinformationmod.MediaType": {
|
||
"type": "integer",
|
||
"enum": [
|
||
0,
|
||
1,
|
||
2,
|
||
3
|
||
],
|
||
"x-enum-comments": {
|
||
"MediaType_AV": "AV视频",
|
||
"MediaType_Advitise": "广告",
|
||
"MediaType_Collection": "合集",
|
||
"MediaType_Video": "视频"
|
||
},
|
||
"x-enum-varnames": [
|
||
"MediaType_Video",
|
||
"MediaType_Collection",
|
||
"MediaType_Advitise",
|
||
"MediaType_AV"
|
||
]
|
||
},
|
||
"videoinformationmod.Node": {
|
||
"type": "object",
|
||
"properties": {
|
||
"images": {
|
||
"description": "图片",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"nodeId": {
|
||
"description": "节点ID",
|
||
"type": "string"
|
||
},
|
||
"text": {
|
||
"description": "文本",
|
||
"type": "string"
|
||
},
|
||
"title": {
|
||
"description": "节点标题",
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"description": "链接",
|
||
"type": "string"
|
||
},
|
||
"videos": {
|
||
"description": "视频信息列表",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videoinformationmod.VideoInfo"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"videoinformationmod.VideoInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"cover": {
|
||
"description": "视频封面",
|
||
"type": "string"
|
||
},
|
||
"fileId": {
|
||
"description": "媒资库ID",
|
||
"type": "string"
|
||
},
|
||
"h265Url": {
|
||
"description": "H.265 m3u8 播放地址,空字符串表示暂无该编码源",
|
||
"type": "string"
|
||
},
|
||
"height": {
|
||
"description": "分辨率高(视频才会存在)",
|
||
"type": "integer"
|
||
},
|
||
"preMp4FileNameFs": {
|
||
"description": "预览MP4文件",
|
||
"type": "string"
|
||
},
|
||
"taskId": {
|
||
"description": "视频ID(视频才会存在)",
|
||
"type": "string"
|
||
},
|
||
"unencryptedPreMp4": {
|
||
"description": "不加密的预览MP4",
|
||
"type": "string"
|
||
},
|
||
"url": {
|
||
"description": "H.264 m3u8 播放地址(始终存在)",
|
||
"type": "string"
|
||
},
|
||
"videoTime": {
|
||
"description": "影片长度",
|
||
"type": "integer"
|
||
},
|
||
"width": {
|
||
"description": "分辨率宽(视频才会存在)",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"videoinformationmod.VideoInformation": {
|
||
"type": "object",
|
||
"properties": {
|
||
"actressIds": {
|
||
"description": "女优ID",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"addedTime": {
|
||
"description": "上架时间",
|
||
"type": "string"
|
||
},
|
||
"audioFile": {
|
||
"description": "音频文件路径",
|
||
"type": "string"
|
||
},
|
||
"bango": {
|
||
"description": "番号,唯一",
|
||
"type": "string"
|
||
},
|
||
"categoryId": {
|
||
"description": "分类ID",
|
||
"type": "integer"
|
||
},
|
||
"coverImg": {
|
||
"description": "封面",
|
||
"type": "string"
|
||
},
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"creatorId": {
|
||
"description": "作者Id",
|
||
"type": "integer"
|
||
},
|
||
"creatorName": {
|
||
"description": "作者名称",
|
||
"type": "string"
|
||
},
|
||
"desc": {
|
||
"description": "详细描述",
|
||
"type": "string"
|
||
},
|
||
"fake": {
|
||
"description": "伪造流量",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.FakeFlow"
|
||
}
|
||
]
|
||
},
|
||
"firstTag": {
|
||
"description": "一级标签",
|
||
"type": "string"
|
||
},
|
||
"hevcFailCount": {
|
||
"description": "主视频转码累计失败次数",
|
||
"type": "integer"
|
||
},
|
||
"hevcMetaInfo": {
|
||
"description": "H265 视频元信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.VideoMetaInfo"
|
||
}
|
||
]
|
||
},
|
||
"hevcStatus": {
|
||
"description": "主视频 H265 转码状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.HevcStatus"
|
||
}
|
||
]
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"indexNow": {
|
||
"description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改",
|
||
"type": "integer"
|
||
},
|
||
"isHot": {
|
||
"description": "是否热门",
|
||
"type": "boolean"
|
||
},
|
||
"isRecommend": {
|
||
"description": "是否推荐 true-推荐 false-不推荐",
|
||
"type": "boolean"
|
||
},
|
||
"isTop": {
|
||
"description": "是否置顶",
|
||
"type": "boolean"
|
||
},
|
||
"issuedAt": {
|
||
"description": "发行时间",
|
||
"type": "string"
|
||
},
|
||
"issuedBrand": {
|
||
"description": "发行商",
|
||
"type": "string"
|
||
},
|
||
"keyworld": {
|
||
"description": "关键字",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"mediaType": {
|
||
"description": "资源类型",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.MediaType"
|
||
}
|
||
]
|
||
},
|
||
"nodes": {
|
||
"description": "节点",
|
||
"type": "array",
|
||
"items": {
|
||
"$ref": "#/definitions/videoinformationmod.Node"
|
||
}
|
||
},
|
||
"optionAccount": {
|
||
"description": "最后操作人",
|
||
"type": "string"
|
||
},
|
||
"pageUpdatedAt": {
|
||
"description": "页面展示更新时间",
|
||
"type": "string"
|
||
},
|
||
"previewVtt": {
|
||
"description": "雪碧图 vtt",
|
||
"type": "string"
|
||
},
|
||
"real": {
|
||
"description": "真实流量",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.Flow"
|
||
}
|
||
]
|
||
},
|
||
"realUpdateAt": {
|
||
"description": "播放相关数据更新时间",
|
||
"type": "string"
|
||
},
|
||
"remark": {
|
||
"description": "备注",
|
||
"type": "string"
|
||
},
|
||
"secondTags": {
|
||
"description": "二级标签标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"secondUpdatedAt": {
|
||
"description": "二次修改时间",
|
||
"type": "string"
|
||
},
|
||
"slug": {
|
||
"description": "slug",
|
||
"type": "string"
|
||
},
|
||
"smartCover": {
|
||
"description": "智能封面",
|
||
"type": "string"
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "帖子上架状态",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.InformationStatus"
|
||
}
|
||
]
|
||
},
|
||
"syncId": {
|
||
"description": "同步ID",
|
||
"type": "string"
|
||
},
|
||
"tags": {
|
||
"description": "标签",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"title": {
|
||
"description": "标题",
|
||
"type": "string"
|
||
},
|
||
"unencryptedImage": {
|
||
"description": "不加密封面",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"uploadUserName": {
|
||
"description": "上传用户名",
|
||
"type": "string"
|
||
},
|
||
"video": {
|
||
"description": "视频",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/videoinformationmod.VideoInfo"
|
||
}
|
||
]
|
||
},
|
||
"videoCount": {
|
||
"description": "合集视频数量",
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"videoinformationmod.VideoMetaInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"audioBitrate": {
|
||
"type": "integer"
|
||
},
|
||
"audioChannels": {
|
||
"type": "integer"
|
||
},
|
||
"audioCodec": {
|
||
"type": "string"
|
||
},
|
||
"audioSampleRate": {
|
||
"type": "integer"
|
||
},
|
||
"bitrate": {
|
||
"type": "integer"
|
||
},
|
||
"codec": {
|
||
"type": "string"
|
||
},
|
||
"duration": {
|
||
"type": "number"
|
||
},
|
||
"fps": {
|
||
"type": "number"
|
||
},
|
||
"height": {
|
||
"type": "integer"
|
||
},
|
||
"m3u8Url": {
|
||
"type": "string"
|
||
},
|
||
"pixFmt": {
|
||
"type": "string"
|
||
},
|
||
"profile": {
|
||
"type": "string"
|
||
},
|
||
"size": {
|
||
"type": "integer"
|
||
},
|
||
"videoBitrate": {
|
||
"type": "integer"
|
||
},
|
||
"width": {
|
||
"type": "integer"
|
||
}
|
||
}
|
||
},
|
||
"videotagmod.VideoTagInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"createdAt": {
|
||
"description": "创建时间",
|
||
"type": "string"
|
||
},
|
||
"id": {
|
||
"type": "integer"
|
||
},
|
||
"images": {
|
||
"description": "背景",
|
||
"type": "string"
|
||
},
|
||
"indexNow": {
|
||
"description": "是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改",
|
||
"type": "integer"
|
||
},
|
||
"isShowHome": {
|
||
"description": "是否显示在首页",
|
||
"type": "boolean"
|
||
},
|
||
"mediaTypes": {
|
||
"description": "作者关联的资源类型 1视频",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "integer"
|
||
}
|
||
},
|
||
"seoInfo": {
|
||
"description": "Seo相关信息",
|
||
"allOf": [
|
||
{
|
||
"$ref": "#/definitions/pubdef.SeoValue"
|
||
}
|
||
]
|
||
},
|
||
"sort": {
|
||
"description": "排序",
|
||
"type": "integer"
|
||
},
|
||
"status": {
|
||
"description": "上架状态",
|
||
"type": "boolean"
|
||
},
|
||
"title": {
|
||
"description": "帖子标题",
|
||
"type": "string"
|
||
},
|
||
"updatedAt": {
|
||
"description": "更新时间",
|
||
"type": "string"
|
||
},
|
||
"watchTimes": {
|
||
"description": "预计算:该标签下所有视频的累计播放量",
|
||
"type": "integer"
|
||
},
|
||
"works": {
|
||
"description": "作品数量",
|
||
"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": {
|
||
"appAddr": {
|
||
"description": "APP下载地址(落地页)",
|
||
"type": "string"
|
||
},
|
||
"channelCode": {
|
||
"description": "渠道码",
|
||
"type": "string"
|
||
},
|
||
"dhDescription": {
|
||
"description": "导航SEO描述",
|
||
"type": "string"
|
||
},
|
||
"dhKeyworld": {
|
||
"description": "导航SEO关键字",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"dhNewUrlAddr1": {
|
||
"description": "导航页-线路1",
|
||
"type": "string"
|
||
},
|
||
"dhNewUrlAddr2": {
|
||
"description": "导航页-线路2",
|
||
"type": "string"
|
||
},
|
||
"dhNewUrlAddr3": {
|
||
"description": "导航页-线路3",
|
||
"type": "string"
|
||
},
|
||
"dhSiteName": {
|
||
"description": "导航SEO网站名称",
|
||
"type": "string"
|
||
},
|
||
"dhTitle": {
|
||
"description": "导航SEO标题",
|
||
"type": "string"
|
||
},
|
||
"downloadVideoUrl": {
|
||
"description": "下载视频URL",
|
||
"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"
|
||
},
|
||
"m3u8DayRateLimitMax": {
|
||
"description": "每 IP 每天最多不同正片数,\u003c=0 使用默认 80",
|
||
"type": "integer"
|
||
},
|
||
"mediaAppCdn": {
|
||
"description": "视频CDN(app使用)",
|
||
"type": "string"
|
||
},
|
||
"mediaAppUsCdn": {
|
||
"description": "视频CDN(海外app使用)",
|
||
"type": "string"
|
||
},
|
||
"mediaWebCdn": {
|
||
"description": "视频CDN(web使用)",
|
||
"type": "string"
|
||
},
|
||
"mp4Addr": {
|
||
"description": "mp4地址(web使用)",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr": {
|
||
"description": "网站管理",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr1": {
|
||
"description": "最新地址(备用地址1)",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr2": {
|
||
"description": "最新地址(备用地址2)",
|
||
"type": "string"
|
||
},
|
||
"pdfAddr": {
|
||
"description": "回家的路PDF",
|
||
"type": "string"
|
||
},
|
||
"potaoGroup": {
|
||
"description": "土豆群",
|
||
"type": "string"
|
||
},
|
||
"qq": {
|
||
"description": "qq群",
|
||
"type": "string"
|
||
},
|
||
"sitemapDefaultImages": {
|
||
"description": "Sitemap里面默认封面图",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"telegram": {
|
||
"description": "商务tg",
|
||
"type": "string"
|
||
},
|
||
"telegramAdd": {
|
||
"description": "加入我们tg",
|
||
"type": "string"
|
||
},
|
||
"tgGroup": {
|
||
"description": "tg群",
|
||
"type": "string"
|
||
},
|
||
"translationAddr": {
|
||
"description": "应用导航",
|
||
"type": "string"
|
||
},
|
||
"twitterAddr": {
|
||
"description": "推特地址",
|
||
"type": "string"
|
||
},
|
||
"unencryptedCdn": {
|
||
"description": "不加密资源使用的cdn",
|
||
"type": "string"
|
||
},
|
||
"useAddress": {
|
||
"description": "所有使用中的域名",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"version": {
|
||
"description": "版本号,用于更新乐观锁",
|
||
"type": "integer"
|
||
},
|
||
"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.SysConfigUpdateReq": {
|
||
"type": "object",
|
||
"properties": {
|
||
"appAddr": {
|
||
"description": "APP下载地址(落地页)",
|
||
"type": "string"
|
||
},
|
||
"channelCode": {
|
||
"description": "渠道码",
|
||
"type": "string"
|
||
},
|
||
"dhDescription": {
|
||
"description": "导航SEO描述",
|
||
"type": "string"
|
||
},
|
||
"dhKeyworld": {
|
||
"description": "导航SEO关键字",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"dhNewUrlAddr1": {
|
||
"description": "导航页-线路一",
|
||
"type": "string"
|
||
},
|
||
"dhNewUrlAddr2": {
|
||
"description": "导航页-线路2",
|
||
"type": "string"
|
||
},
|
||
"dhNewUrlAddr3": {
|
||
"description": "导航页-线路3",
|
||
"type": "string"
|
||
},
|
||
"dhSiteName": {
|
||
"description": "导航SEO网站名称",
|
||
"type": "string"
|
||
},
|
||
"dhTitle": {
|
||
"description": "导航SEO标题",
|
||
"type": "string"
|
||
},
|
||
"downloadVideoUrl": {
|
||
"description": "下载视频URL",
|
||
"type": "string"
|
||
},
|
||
"enableH265": {
|
||
"description": "是否允许客户端使用 H265 地址播放",
|
||
"type": "boolean"
|
||
},
|
||
"foreverUrlAddr": {
|
||
"description": "永久地址",
|
||
"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"
|
||
},
|
||
"m3u8DayRateLimitMax": {
|
||
"description": "每 IP 每天最多不同正片数,\u003c=0 使用默认 80",
|
||
"type": "integer"
|
||
},
|
||
"mediaAppCdn": {
|
||
"description": "视频CDN(app使用)",
|
||
"type": "string"
|
||
},
|
||
"mediaAppUsCdn": {
|
||
"description": "视频CDN(海外app使用)",
|
||
"type": "string"
|
||
},
|
||
"mediaWebCdn": {
|
||
"description": "视频CDN(web使用)",
|
||
"type": "string"
|
||
},
|
||
"mp4Addr": {
|
||
"description": "mp4地址(web使用)",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr": {
|
||
"description": "最新地址",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr1": {
|
||
"description": "最新地址(备用地址1)",
|
||
"type": "string"
|
||
},
|
||
"newUrlAddr2": {
|
||
"description": "最新地址(备用地址2)",
|
||
"type": "string"
|
||
},
|
||
"pdfAddr": {
|
||
"description": "回家的路PDF",
|
||
"type": "string"
|
||
},
|
||
"potaoGroup": {
|
||
"description": "土豆群",
|
||
"type": "string"
|
||
},
|
||
"qq": {
|
||
"description": "qq群",
|
||
"type": "string"
|
||
},
|
||
"sitemapDefaultImages": {
|
||
"description": "Sitemap里面默认封面图",
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
}
|
||
},
|
||
"telegram": {
|
||
"description": "商务tg",
|
||
"type": "string"
|
||
},
|
||
"telegramAdd": {
|
||
"description": "加入我们tg",
|
||
"type": "string"
|
||
},
|
||
"tgGroup": {
|
||
"description": "tg群",
|
||
"type": "string"
|
||
},
|
||
"translationAddr": {
|
||
"description": "应用导航",
|
||
"type": "string"
|
||
},
|
||
"twitterAddr": {
|
||
"description": "推特地址",
|
||
"type": "string"
|
||
},
|
||
"unencryptedCdn": {
|
||
"description": "不加密资源使用的cdn",
|
||
"type": "string"
|
||
},
|
||
"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"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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"
|
||
}
|
||
}
|
||
}
|
||
}`
|
||
|
||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||
var SwaggerInfo = &swag.Spec{
|
||
Version: "1.0",
|
||
Host: "localhost:12667",
|
||
BasePath: "/",
|
||
Schemes: []string{"http", "https"},
|
||
Title: "站群后台接口",
|
||
Description: "这是站群后台接口服务.",
|
||
InfoInstanceName: "swagger",
|
||
SwaggerTemplate: docTemplate,
|
||
LeftDelim: "{{",
|
||
RightDelim: "}}",
|
||
}
|
||
|
||
func init() {
|
||
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
|
||
}
|