Files
2026-10-26 16:28:14 +08:00

8868 lines
216 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
basePath: /
definitions:
actress.Actress:
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:
allOf:
- $ref: '#/definitions/actress.Meas'
description: 三围
office:
description: 事务所
type: string
rank:
description: 排序
type: integer
real:
allOf:
- $ref: '#/definitions/pubdef.Flow'
description: 真实流量
realUpdateAt:
description: 播放相关数据更新时间
type: string
region:
description: 地区/国家
type: string
score:
description: 评分
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
status:
description: 是否启用
type: boolean
translationCategoryId:
description: 关联导航分类id
type: integer
updatedAt:
description: 更新时间
type: string
works:
description: 作品数
type: integer
type: object
actress.Meas:
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
type: object
contactusmod.ContactUsModel:
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
type: object
contenttagmod.ContentTagType:
enum:
- 1
- 5
type: integer
x-enum-comments:
ContentTagTypePlaylet: 短剧
ContentTagTypeVideo: 视频
x-enum-varnames:
- ContentTagTypeVideo
- ContentTagTypePlaylet
detailnavmod.DetailNavModel:
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
type: object
hotnavmod.HotNav:
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
type: object
ipblackmod.IPBlackModel:
properties:
createdAt:
description: 创建时间
type: string
desc:
description: 备注
type: string
id:
type: string
ip:
type: string
updatedAt:
description: 更新时间
type: string
type: object
playletchaptermod.PayType:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
PayTypeCoin: 金币
PayTypeFree: 免费
PayTypeVip: VIP
x-enum-varnames:
- PayTypeFree
- PayTypeCoin
- PayTypeVip
playletchaptermod.WatermarkStatus:
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
playletmod.ContentType:
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
playletmod.PayType:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
PayTypeCoin: 金币
PayTypeFree: 免费
PayTypeVip: VIP
x-enum-varnames:
- PayTypeFree
- PayTypeCoin
- PayTypeVip
playletmod.Status:
enum:
- 0
- 1
type: integer
x-enum-comments:
StatusDown: 下架
StatusUp: 上架
x-enum-varnames:
- StatusDown
- StatusUp
proto.ContentTagAddReq:
properties:
name:
description: 标签名称
type: string
rank:
description: 排序,越大越靠前
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,不传则按 SEO 关键词或名称自动生成
type: string
status:
description: 状态 true-启用 false-停用
type: boolean
types:
description: 支持类型 1-视频 5-短剧
items:
$ref: '#/definitions/contenttagmod.ContentTagType'
type: array
required:
- name
- status
- types
type: object
proto.ContentTagAddResp:
properties:
id:
description: ID
type: integer
type: object
proto.ContentTagDelReq:
properties:
id:
description: ID
type: integer
required:
- id
type: object
proto.ContentTagListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.ContentTagOptionItem:
properties:
bindCount:
description: 当前查询类型的绑定数量,不传type时返回0
type: integer
id:
description: ID
type: integer
name:
description: 标签名称
type: string
rank:
description: 排序,越大越靠前
type: integer
typeNames:
description: 支持类型名称
items:
type: string
type: array
types:
description: 支持类型 1-视频 5-短剧
items:
$ref: '#/definitions/contenttagmod.ContentTagType'
type: array
type: object
proto.ContentTagOptionResp:
properties:
list:
description: 标签下拉列表
items:
$ref: '#/definitions/proto.ContentTagOptionItem'
type: array
type: object
proto.ContentTagUpdateReq:
properties:
id:
description: ID
type: integer
name:
description: 标签名称
type: string
rank:
description: 排序,越大越靠前
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
description: 状态 true-启用 false-停用
type: boolean
types:
description: 支持类型 1-视频 5-短剧
items:
$ref: '#/definitions/contenttagmod.ContentTagType'
type: array
required:
- id
type: object
proto.HomeBannerAddReq:
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
required:
- image
- name
- status
type: object
proto.HomeBannerAddResp:
properties:
id:
description: ID
type: integer
type: object
proto.HomeBannerDelReq:
properties:
id:
description: ID
type: integer
required:
- id
type: object
proto.HomeBannerListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.HomeBannerUpdateReq:
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
required:
- id
type: object
proto.PlayletAddReq:
properties:
anchor:
description: 作者/演员
type: string
banner:
description: banner图
type: string
categoryIds:
description: 分类ID集合
items:
type: integer
type: array
contentType:
allOf:
- $ref: '#/definitions/playletmod.ContentType'
description: 内容类型,0-短剧、1-普通短剧/影集、2-漫画短剧、3-动漫、4-漫画
cover:
description: 封面原图
type: string
desc:
description: 简介
type: string
isFeatured:
description: 是否爆剧,true-是、false-否
type: boolean
isRecommend:
description: 是否推荐,true-推荐、false-不推荐
type: boolean
payType:
allOf:
- $ref: '#/definitions/playletmod.PayType'
description: 支付方式,0-免费、1-金币、2-VIP
preview:
description: 预告
type: string
recommendRank:
description: 推荐排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
showOnBanner:
description: 是否显示在首页banner
type: boolean
singleCoins:
description: 单集金币,支付方式为1-金币时生效
type: integer
slug:
description: slug,不传则按 SEO 关键词或标题自动生成
type: string
status:
allOf:
- $ref: '#/definitions/playletmod.Status'
description: 上架状态,0-下架、1-上架
tagIds:
description: 标签ID集合
items:
type: integer
type: array
themeIds:
description: 题材ID集合
items:
type: integer
type: array
title:
description: 标题
type: string
topRank:
description: 置顶排序
type: integer
totalEpisode:
description: 总集数
type: integer
required:
- title
type: object
proto.PlayletAddResp:
properties:
id:
description: 短剧ID
type: integer
type: object
proto.PlayletBannerSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
showOnBanner:
description: 是否显示在首页banner,true-显示、false-不显示
type: boolean
type: object
proto.PlayletCategoryAddReq:
properties:
icon:
description: 分类图标
type: string
name:
description: 分类名称
type: string
rank:
description: 排序,越大越靠前
type: integer
remark:
description: 备注
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,不传则按 SEO 关键词或名称自动生成
type: string
status:
description: 启用状态
type: boolean
required:
- name
type: object
proto.PlayletCategoryAddResp:
properties:
id:
description: 分类ID
type: integer
type: object
proto.PlayletCategoryDelReq:
properties:
id:
description: 分类ID
type: integer
required:
- id
type: object
proto.PlayletCategoryListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.PlayletCategorySetReq:
properties:
categoryIds:
description: 分类ID集合,可设置多个分类,传空数组表示清空分类,不传表示参数错误
items:
type: integer
type: array
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
type: object
proto.PlayletCategoryUpdateReq:
properties:
icon:
description: 分类图标
type: string
id:
description: 分类ID
type: integer
name:
description: 分类名称
type: string
rank:
description: 排序,越大越靠前
type: integer
remark:
description: 备注
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
description: 启用状态
type: boolean
required:
- id
type: object
proto.PlayletChapterAddReq:
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:
allOf:
- $ref: '#/definitions/playletchaptermod.PayType'
description: 支付方式 0-免费 1-金币 2-VIP
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
required:
- currentEpisode
- playletId
type: object
proto.PlayletChapterAddResp:
properties:
id:
description: 剧集ID
type: integer
type: object
proto.PlayletChapterDelReq:
properties:
ids:
description: 剧集ID集合,传1个表示单条删除,传多个表示批量删除
items:
type: integer
type: array
type: object
proto.PlayletChapterListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.PlayletChapterPayTypeSetReq:
properties:
ids:
description: 剧集ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
payType:
allOf:
- $ref: '#/definitions/playletchaptermod.PayType'
description: 支付方式 0-免费 1-金币 2-VIP
singleCoins:
description: 单集金币,支付方式为1-金币时必填且需大于0
type: integer
type: object
proto.PlayletChapterSyncReq:
properties:
playletIds:
description: 短剧ID集合,传1个表示单条同步,传多个表示批量同步
items:
type: integer
type: array
required:
- playletIds
type: object
proto.PlayletChapterSyncResp:
properties:
failedCount:
description: 失败数量
type: integer
list:
description: 同步结果集合
items:
$ref: '#/definitions/proto.PlayletChapterSyncResult'
type: array
successCount:
description: 成功数量
type: integer
total:
description: 同步总数
type: integer
type: object
proto.PlayletChapterSyncResult:
properties:
newChapterCount:
description: 本次新增剧集数量
type: integer
playletId:
description: 短剧ID
type: integer
reason:
description: 失败原因
type: string
success:
description: 是否同步成功
type: boolean
type: object
proto.PlayletChapterUpdateReq:
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:
allOf:
- $ref: '#/definitions/playletchaptermod.PayType'
description: 支付方式 0-免费 1-金币 2-VIP
ratio:
description: 宽高比
type: number
singleCoins:
description: 单集金币,支付方式为1-金币时生效
type: integer
title:
description: 剧集标题
type: string
videoUrl:
description: 原片视频地址
type: string
width:
description: 视频宽度
type: integer
required:
- id
type: object
proto.PlayletFeaturedSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
isFeatured:
description: 是否爆剧,true-是、false-否
type: boolean
type: object
proto.PlayletListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.PlayletPayTypeSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
payType:
allOf:
- $ref: '#/definitions/playletmod.PayType'
description: 支付方式,0-免费、1-金币、2-VIP
singleCoins:
description: 单集金币,支付方式为1-金币时必填且需大于0
type: integer
type: object
proto.PlayletRecommendSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
isRecommend:
description: 是否推荐,true-推荐、false-不推荐
type: boolean
type: object
proto.PlayletResourceChapterItem:
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
type: object
proto.PlayletResourceChapterListResp:
properties:
list:
description: 剧集列表
items:
$ref: '#/definitions/proto.PlayletResourceChapterItem'
type: array
mediaId:
description: 媒资中心资源ID
type: integer
title:
description: 短剧标题
type: string
total:
description: 剧集数量
type: integer
type: object
proto.PlayletResourceListItem:
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
type: object
proto.PlayletResourceListResp:
properties:
list:
items:
$ref: '#/definitions/proto.PlayletResourceListItem'
type: array
total:
type: integer
type: object
proto.PlayletResourceUseReq:
properties:
ids:
description: 媒资中心资源ID集合
items:
type: integer
type: array
type: object
proto.PlayletStatusSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
status:
allOf:
- $ref: '#/definitions/playletmod.Status'
description: 上架状态,0-下架、1-上架
type: object
proto.PlayletTagAddReq:
properties:
name:
type: string
rank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
status:
type: boolean
required:
- name
type: object
proto.PlayletTagAddResp:
properties:
id:
type: integer
type: object
proto.PlayletTagDelReq:
properties:
id:
type: integer
required:
- id
type: object
proto.PlayletTagListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.PlayletTagSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
tagIds:
description: 标签ID集合,可设置多个标签,传空数组表示清空标签,不传表示参数错误
items:
type: integer
type: array
type: object
proto.PlayletTagUpdateReq:
properties:
id:
type: integer
name:
type: string
rank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
status:
type: boolean
required:
- id
type: object
proto.PlayletThemeAddReq:
properties:
icon:
description: 题材图标
type: string
name:
description: 题材名称
type: string
rank:
description: 排序,越大越靠前
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,不传则按 SEO 关键词或名称自动生成
type: string
status:
description: 上架状态
type: boolean
required:
- name
type: object
proto.PlayletThemeAddResp:
properties:
id:
description: 题材ID
type: integer
type: object
proto.PlayletThemeDelReq:
properties:
id:
description: 题材ID
type: integer
required:
- id
type: object
proto.PlayletThemeListPageResp:
properties:
list:
description: 当前页数据
pageNum:
description: 当前页码
type: integer
pageSize:
description: 每页数量
type: integer
totalCount:
description: 总数量
type: integer
type: object
proto.PlayletThemeSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
themeIds:
description: 题材ID集合,可设置多个题材
items:
type: integer
type: array
type: object
proto.PlayletThemeUpdateReq:
properties:
icon:
description: 题材图标
type: string
id:
description: 题材ID
type: integer
name:
description: 题材名称
type: string
rank:
description: 排序,越大越靠前
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
description: 上架状态
type: boolean
required:
- id
type: object
proto.PlayletUpdateReq:
properties:
anchor:
description: 作者/演员
type: string
banner:
description: banner图
type: string
categoryIds:
description: 分类ID集合,传空数组表示清空分类
items:
type: integer
type: array
contentType:
allOf:
- $ref: '#/definitions/playletmod.ContentType'
description: 内容类型,0-短剧、1-普通短剧/影集、2-漫画短剧、3-动漫、4-漫画
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:
allOf:
- $ref: '#/definitions/playletmod.PayType'
description: 支付方式,0-免费、1-金币、2-VIP
preview:
description: 预告
type: string
recommendRank:
description: 推荐排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
showOnBanner:
description: 是否显示在首页banner
type: boolean
singleCoins:
description: 单集金币,支付方式为1-金币时生效
type: integer
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
allOf:
- $ref: '#/definitions/playletmod.Status'
description: 上架状态,0-下架、1-上架
tagIds:
description: 标签ID集合,传空数组表示清空标签
items:
type: integer
type: array
themeIds:
description: 题材ID集合
items:
type: integer
type: array
title:
description: 标题
type: string
topRank:
description: 置顶排序
type: integer
totalEpisode:
description: 总集数
type: integer
required:
- id
type: object
proto.PlayletVirtualLikeSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
maxVirtualCountLike:
description: 虚拟点赞数最大值,必须大于等于最小值
type: integer
minVirtualCountLike:
description: 虚拟点赞数最小值,必须大于等于0
type: integer
type: object
proto.PlayletWatermarkResetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条,传多个表示批量
items:
type: integer
type: array
type: object
proto.SlugSyncReq:
properties:
maxSize:
description: 本次最多处理的空 slug 记录数,默认500,最大2000
type: integer
type:
description: 可选,指定类型;空则按顺序处理全部
type: string
type: object
proto.SlugSyncResp:
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
type: object
pubdef.CategoryDisplayPosition:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
CategoryDisplayPositionBoth: TAB和首页都显示
CategoryDisplayPositionHomeOnly: 仅首页
CategoryDisplayPositionTabOnly: 仅TAB
x-enum-varnames:
- CategoryDisplayPositionTabOnly
- CategoryDisplayPositionHomeOnly
- CategoryDisplayPositionBoth
pubdef.CategorySortType:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
type: integer
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:
enum:
- 0
- 4
type: integer
x-enum-comments:
CommentObjectTypePlaylet: 短剧
CommentObjectTypeVideo: 视频
x-enum-varnames:
- CommentObjectTypeVideo
- CommentObjectTypePlaylet
pubdef.DisplayMode:
enum:
- 0
- 1
- 2
- 3
- 4
type: integer
x-enum-comments:
DisplayModeAvatarList: 头像列表
DisplayModeBigCover: 大封面列表(一大图两列)
DisplayModeCardCarousel: 卡片层叠轮播
DisplayModeDefault: 默认(上图下标题多列)
DisplayModeImageText: 图文列表(左图右标题多列)
x-enum-varnames:
- DisplayModeDefault
- DisplayModeCardCarousel
- DisplayModeAvatarList
- DisplayModeImageText
- DisplayModeBigCover
pubdef.FakeFlow:
properties:
likes:
description: 假点赞数
type: integer
watchTimes:
description: 假观看次数
type: integer
type: object
pubdef.Flow:
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
type: object
pubdef.InformationStatus:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
InformationStatusVerifyCancel: 下架
InformationStatusVerifyOK: 上架
InformationStatusWaiting: 初始化
x-enum-varnames:
- InformationStatusWaiting
- InformationStatusVerifyOK
- InformationStatusVerifyCancel
pubdef.LoginType:
enum:
- 0
- 1
- 2
- 3
type: integer
x-enum-comments:
LoginTypeAccount: 账号登陆
LoginTypeDevice: 设备登陆
LoginTypeMobile: 手机登陆
LoginTypeQrCode: 二维码登陆
x-enum-varnames:
- LoginTypeDevice
- LoginTypeMobile
- LoginTypeQrCode
- LoginTypeAccount
pubdef.Page:
properties:
pageNum:
type: integer
pageSize:
type: integer
type: object
pubdef.SeoValue:
properties:
description:
description: 网站SEO描述
type: string
keyworld:
description: 网站SEO关键字
items:
type: string
type: array
title:
description: 网站SEO标题
type: string
type: object
pubdef.TranslationType:
enum:
- 1
- 2
- 3
type: integer
x-enum-comments:
TranslationTypeBottom: 底部导航
TranslationTypeSub: 二级导航
TranslationTypeUrl: URL模式
x-enum-varnames:
- TranslationTypeUrl
- TranslationTypeSub
- TranslationTypeBottom
pubdef.UserStatus:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
UserStatusDisable: 封禁
UserStatusNormal: 正常
UserStatusSlient: 禁言
x-enum-varnames:
- UserStatusNormal
- UserStatusDisable
- UserStatusSlient
questionnairemod.Attachment:
properties:
fileType:
description: 附件类型(img / video)
type: string
url:
description: 附件URL地址
type: string
type: object
questionnairemod.QuestionnaireModel:
properties:
attachments:
description: 附件列表,最多3个
items:
$ref: '#/definitions/questionnairemod.Attachment'
type: array
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
type: object
richtextcontentmod.RichTextContentModel:
properties:
content:
description: 内容
type: string
createdAt:
description: 创建时间
type: string
desc:
description: 标题(app)
type: string
id:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
sort:
description: 排序值
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题(内部)
type: string
updatedAt:
description: 更新时间
type: string
type: object
srv_acc.OpLogInfo:
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
type: object
srv_actress.ActressAddReq:
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:
allOf:
- $ref: '#/definitions/actress.Meas'
description: 三围
office:
description: 事务所
type: string
rank:
description: 排序
type: integer
region:
description: 地区/国家
type: string
score:
description: 评分
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,不传则按 SEO 关键词或别名自动生成
type: string
status:
description: 是否启用
type: boolean
translationCategoryId:
description: 关联导航分类id
type: integer
type: object
srv_actress.ActressDelReq:
properties:
id:
type: integer
type: object
srv_actress.ActressListReq:
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
type: object
srv_actress.ActressListResp:
properties:
list:
items:
$ref: '#/definitions/actress.Actress'
type: array
total:
type: integer
type: object
srv_actress.ActressUpdateParam:
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:
allOf:
- $ref: '#/definitions/actress.Meas'
description: 三围
office:
description: 事务所
type: string
rank:
description: 排序
type: integer
region:
description: 地区/国家
type: string
score:
description: 评分
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
status:
description: 是否启用
type: boolean
translationCategoryId:
description: 关联导航分类id
type: integer
updatedAt:
description: 更新时间
type: string
type: object
srv_actress.ActressUpdateReq:
properties:
id:
type: integer
param:
$ref: '#/definitions/srv_actress.ActressUpdateParam'
required:
- id
- param
type: object
srv_commend.CommendReplay:
properties:
objectId:
description: 对象ID
type: integer
parentsId:
description: 评论ID
type: integer
score:
description: 评分
type: integer
text:
description: 评论内容
type: string
userName:
description: 用户名
type: string
type: object
srv_commend.CommendReviewReq:
properties:
id:
type: integer
reviewStatus:
type: integer
type: object
srv_commend.CommendSearch:
properties:
level:
description: 评论级别
type: integer
objectId:
description: 对象ID
type: integer
objectType:
allOf:
- $ref: '#/definitions/pubdef.CommentObjectType'
description: 对象类型 0=视频 4=短剧
pageNum:
type: integer
pageSize:
type: integer
reviewStatus:
type: integer
text:
description: 评论内容
type: string
userName:
description: 用户名称
type: string
type: object
srv_commend.CommendSearchResp:
properties:
list:
items:
$ref: '#/definitions/srv_commend.PostCommentInfo'
type: array
total:
type: integer
type: object
srv_commend.PostCommentInfo:
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:
allOf:
- $ref: '#/definitions/pubdef.CommentObjectType'
description: 对象类型 0=视频 4=短剧
parentsId:
description: 上级评论ID
type: integer
replyUserName:
description: 回复名称
type: string
reviewStatus:
description: 审核状态 0 未审核 1审核成功 2 审核失败
type: integer
status:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 评论用户的状态
text:
description: 评论内容
type: string
topRank:
description: 置顶排序
type: integer
updatedAt:
description: 更新时间
type: string
userName:
description: 用户名称
type: string
type: object
srv_contactus.DelOneContactusReq:
properties:
id:
type: string
type: object
srv_contactus.GetContactusListReq:
properties:
categoryName:
description: 分类
type: string
email:
description: 邮箱
type: string
ip:
description: ip
type: string
name:
description: 姓名
type: string
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_contactus.GetContactusListResp:
properties:
list:
items:
$ref: '#/definitions/contactusmod.ContactUsModel'
type: array
total:
type: integer
type: object
srv_contactus.UpdateContactusReq:
properties:
id:
type: string
status:
type: integer
type: object
srv_detailnav.AddDetailNavReq:
properties:
name:
description: 导航名称
type: string
sort:
description: 排序
type: integer
status:
description: 是否启用
type: boolean
url:
description: 导航链接
type: string
required:
- name
- url
type: object
srv_detailnav.DelDetailNavReq:
properties:
id:
type: string
required:
- id
type: object
srv_detailnav.GetDetailNavListReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_detailnav.GetDetailNavListResp:
properties:
list:
items:
$ref: '#/definitions/detailnavmod.DetailNavModel'
type: array
total:
type: integer
type: object
srv_detailnav.UpdateDetailNavParam:
properties:
name:
type: string
sort:
type: integer
status:
type: boolean
url:
type: string
type: object
srv_detailnav.UpdateDetailNavReq:
properties:
id:
type: string
param:
$ref: '#/definitions/srv_detailnav.UpdateDetailNavParam'
required:
- id
type: object
srv_hotnav.AddHotNavReq:
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
required:
- title
- url
type: object
srv_hotnav.DelHotNavReq:
properties:
id:
type: integer
required:
- id
type: object
srv_hotnav.GetHotNavListReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_hotnav.GetHotNavListResp:
properties:
list:
items:
$ref: '#/definitions/hotnavmod.HotNav'
type: array
total:
type: integer
type: object
srv_hotnav.UpdateHotNavParam:
properties:
icon:
type: string
intro:
type: string
sort:
type: integer
status:
type: boolean
title:
type: string
url:
type: string
type: object
srv_hotnav.UpdateHotNavReq:
properties:
id:
type: integer
param:
$ref: '#/definitions/srv_hotnav.UpdateHotNavParam'
required:
- id
type: object
srv_ipblack.AddIPBlackListReq:
properties:
desc:
description: 备注
type: string
ip:
type: string
type: object
srv_ipblack.DelIpBlackListReq:
properties:
ip:
type: string
type: object
srv_ipblack.GetIPBlackListReq:
properties:
ip:
type: string
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_ipblack.GetIPBlackListResp:
properties:
list:
items:
$ref: '#/definitions/ipblackmod.IPBlackModel'
type: array
total:
type: integer
type: object
srv_questionnaire.HandleReq:
properties:
id:
description: 问卷ID(ObjectID 字符串)
type: string
remark:
description: 备注(选填)
type: string
status:
description: 目标状态:processed 已处理 / reject 拒绝
type: string
required:
- id
- status
type: object
srv_questionnaire.ListReq:
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
type: object
srv_questionnaire.ListResp:
properties:
list:
description: 当前页数据
items:
$ref: '#/definitions/questionnairemod.QuestionnaireModel'
type: array
total:
description: 满足条件的总条数
type: integer
type: object
srv_richtextcontent.DelRichTextContentReq:
properties:
id:
type: integer
type: object
srv_richtextcontent.GetRichTextContentListReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题
type: string
type: object
srv_richtextcontent.GetRichTextContentResp:
properties:
list:
items:
$ref: '#/definitions/richtextcontentmod.RichTextContentModel'
type: array
total:
type: integer
type: object
srv_richtextcontent.UpdateRichTextContentData:
properties:
_id:
type: integer
content:
description: 内容
type: string
desc:
description: 标题(app)
type: string
location:
description: 位置
items:
type: string
type: array
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
sort:
description: 排序值
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题
type: string
updatedAt:
type: string
type: object
srv_richtextcontent.UpdateRichTextContentReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_richtextcontent.UpdateRichTextContentData'
description: appId,唯一id
required:
- id
type: object
srv_translation.TranslationInfoDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_translation.TranslationInfoReq:
properties:
id:
description: 导航ID
type: integer
name:
description: 导航名称
type: string
pageNum:
type: integer
pageSize:
type: integer
transCategoryId:
description: 导航分类ID
type: integer
type: object
srv_translation.TranslationInfoResp:
properties:
list:
items:
$ref: '#/definitions/translationmod.TranslationInfo'
type: array
total:
type: integer
type: object
srv_translation.TranslationInfoUpdate:
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
type: object
srv_translation.TranslationInfoUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_translation.TranslationInfoUpdate'
description: appId,唯一id
required:
- id
type: object
srv_translationcategory.TranslationCategoryDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_translationcategory.TranslationCategoryReq:
properties:
id:
description: 导航分类ID
type: integer
name:
description: 导航分类名称
type: string
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_translationcategory.TranslationCategoryResp:
properties:
list:
items:
$ref: '#/definitions/translationcategorymod.TranslationCategory'
type: array
total:
type: integer
type: object
srv_translationcategory.TranslationCategoryUpdate:
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
type: object
srv_translationcategory.TranslationCategoryUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_translationcategory.TranslationCategoryUpdate'
description: appId,唯一id
required:
- id
type: object
srv_user.UserListReq:
properties:
id:
description: 用户ID
type: integer
nickName:
description: 昵称(模糊)
type: string
pageNum:
type: integer
pageSize:
type: integer
status:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 状态
type: object
srv_user.UserListResp:
properties:
list:
items:
$ref: '#/definitions/usermod.User'
type: array
total:
type: integer
type: object
srv_user.UserUpdateReq:
properties:
id:
type: integer
param:
$ref: '#/definitions/usermod.UserUpdate'
required:
- id
type: object
srv_videocategory.VideoCategoryDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videocategory.VideoCategoryReq:
properties:
displayPosition:
allOf:
- $ref: '#/definitions/pubdef.CategoryDisplayPosition'
description: 显示位置 0=仅TAB 1=仅首页 2=两者都显示
id:
description: 分类 ID
type: integer
name:
description: 分类名称(模糊匹配)
type: string
pageNum:
type: integer
pageSize:
type: integer
sortType:
allOf:
- $ref: '#/definitions/pubdef.CategorySortType'
description: 排序方式
type: object
srv_videocategory.VideoCategoryResp:
properties:
list:
items:
$ref: '#/definitions/videocategorymod.VideoCategory'
type: array
total:
type: integer
type: object
srv_videocategory.VideoCategoryUpdate:
properties:
desc:
description: 描述
type: string
displayMode:
allOf:
- $ref: '#/definitions/pubdef.DisplayMode'
description: 展示方式
displayPosition:
allOf:
- $ref: '#/definitions/pubdef.CategoryDisplayPosition'
description: 显示位置 0=仅TAB 1=仅首页 2=两者都显示
indexNow:
type: integer
isReIndexNow:
description: 是否重新提交索引
type: boolean
name:
description: 名称
type: string
rank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sortType:
allOf:
- $ref: '#/definitions/pubdef.CategorySortType'
description: 排序方式
status:
description: 上架状态
type: boolean
tags:
description: 关联视频标签
items:
type: integer
type: array
title:
description: APP显示
type: string
translationCategoryId:
description: 导航分类
type: integer
updatedAt:
type: string
type: object
srv_videocollection.CollectionMediaInfo:
properties:
coverImg:
description: 封面
type: string
createdAt:
description: 创建时间
type: string
desc:
description: 详细描述
type: string
id:
type: integer
nodes:
description: 节点
items:
$ref: '#/definitions/videoinformationmod.Node'
type: array
rank:
description: 排序
type: integer
remark:
description: 备注
type: string
status:
allOf:
- $ref: '#/definitions/pubdef.InformationStatus'
description: 帖子上架状态
title:
description: 帖子标题
type: string
updatedAt:
description: 更新时间
type: string
video:
allOf:
- $ref: '#/definitions/videoinformationmod.VideoInfo'
description: 视频
type: object
srv_videocollection.GetCollectionMediaListReq:
properties:
collectionID:
type: integer
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_videocollection.GetCollectionMediaListResp:
properties:
list:
items:
$ref: '#/definitions/srv_videocollection.CollectionMediaInfo'
type: array
total:
type: integer
type: object
srv_videocollection.UpdateCollectionMediaRankReq:
properties:
collectionID:
description: 合集ID
type: integer
rank:
description: 排序
type: integer
videoId:
description: 视频ID
type: integer
type: object
srv_videocollection.VideoCollectionOptionMediaReq:
properties:
collectionID:
description: 合集ID
type: integer
isAdd:
description: 增加还是移除
type: boolean
videoIds:
description: 视频ID
items:
type: integer
type: array
type: object
srv_videocreater.VideoCreaterDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videocreater.VideoCreaterReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_videocreater.VideoCreaterResp:
properties:
list:
items:
$ref: '#/definitions/videocreatermod.VideoCreaterInfo'
type: array
total:
type: integer
type: object
srv_videocreater.VideoCreaterUpdate:
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视频
items:
type: integer
type: array
name:
description: 名称
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
updatedAt:
type: string
works:
description: 作品数量
type: integer
type: object
srv_videoinfo.AddVideoCollectionReq:
properties:
coverImg:
description: 封面
type: string
desc:
description: 详细描述
type: string
firstTag:
description: 一级标签
type: string
keyworld:
description: 关键字
items:
type: string
type: array
remark:
description: 备注
type: string
secondTags:
description: 二级标签标签
items:
type: string
type: array
tags:
description: 标签
items:
type: integer
type: array
title:
description: 帖子标题
type: string
type: object
srv_videoinfo.AddVideoReq:
properties:
fileId:
description: 资源id
items:
type: string
type: array
type: object
srv_videoinfo.SetFakeCountResp:
properties:
matchedCount:
description: 匹配到的视频数量
type: integer
modifiedCount:
description: 实际修改的视频数量
type: integer
type: object
srv_videoinfo.SetFakeLikesReq:
properties:
ids:
description: 视频ID集合,支持单个或批量
items:
type: integer
type: array
likesMax:
description: 假点赞数随机最大值,包含该值
type: integer
likesMin:
description: 假点赞数随机最小值,包含该值
type: integer
type: object
srv_videoinfo.SetFakeWatchTimesReq:
properties:
ids:
description: 视频ID集合,支持单个或批量
items:
type: integer
type: array
watchTimesMax:
description: 假观看次数随机最大值,包含该值
type: integer
watchTimesMin:
description: 假观看次数随机最小值,包含该值
type: integer
type: object
srv_videoinfo.SetRecommendReq:
properties:
ids:
description: 视频ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
isRecommend:
description: 是否推荐 true-推荐 false-不推荐
type: boolean
type: object
srv_videoinfo.SyncMediaFileItem:
properties:
bango:
type: string
coverImg:
type: string
fieldNameFs:
type: string
firstTag:
type: string
height:
type: integer
id:
type: string
keyworld:
items:
type: string
type: array
publish:
type: string
secondTags:
items:
type: string
type: array
taskId:
type: string
title:
type: string
videoTime:
type: integer
width:
type: integer
type: object
srv_videoinfo.SyncMediaFileReq:
properties:
fileId:
description: 媒资库影片 ID
items:
type: string
type: array
firstTagMap:
additionalProperties:
type: string
description: 覆盖一级标签
type: object
minVideoSeconds:
description: 最短时长,0 表示不限制
type: integer
sourceVersion:
description: v1 / v2
type: string
videoList:
description: 媒资库搜索结果,优先使用
items:
$ref: '#/definitions/srv_videoinfo.SyncMediaFileItem'
type: array
type: object
srv_videoinfo.VideoAddTagsReq:
properties:
tags:
description: 统一标签ID集合
items:
type: integer
type: array
videoIds:
description: 视频ID集合
items:
type: integer
type: array
required:
- tags
- videoIds
type: object
srv_videoinfo.VideoInfoDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videoinfo.VideoInfoReq:
properties:
actressIds:
description: 女优ID
items:
type: integer
type: array
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:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 资源类型
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:
allOf:
- $ref: '#/definitions/pubdef.InformationStatus'
description: 帖子上架状态
tag:
description: 标签
type: integer
title:
description: 标题
type: string
videoFileId:
description: 切片id(切片列表的ID)
type: string
videoTaskId:
description: 视频任务id
type: string
type: object
srv_videoinfo.VideoInfoResp:
properties:
list:
items:
$ref: '#/definitions/videoinformationmod.VideoInformation'
type: array
total:
type: integer
type: object
srv_videoinfo.VideoInfoUpdate:
properties:
actressIds:
description: 女优ID
items:
type: integer
type: array
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:
items:
type: string
type: array
mediaType:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 资源类型
nodes:
description: 节点
items:
$ref: '#/definitions/videoinformationmod.Node'
type: array
remark:
description: 备注
type: string
secondTags:
description: 二级标签标签
items:
type: string
type: array
secondUpdatedAt:
description: 二次修改时间
type: string
slug:
description: slug
type: string
sort:
description: 排序
type: integer
status:
allOf:
- $ref: '#/definitions/pubdef.InformationStatus'
description: 帖子上架状态
tags:
description: 标签
items:
type: integer
type: array
title:
description: 帖子标题
type: string
unencryptedImage:
description: 不加密封面
type: string
updatedAt:
description: 更新时间
type: string
video:
allOf:
- $ref: '#/definitions/videoinformationmod.VideoInfo'
description: 视频
videoTime:
description: 影片长度
type: integer
width:
description: 分辨率宽(视频才会存在)
type: integer
type: object
srv_videoinfo.VideoInfoUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_videoinfo.VideoInfoUpdate'
description: appId,唯一id
required:
- id
type: object
srv_videoinfo.VideoSetTagsReq:
properties:
ids:
description: 视频ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
tagIds:
description: 标签ID集合,可设置多个标签,传空数组表示清空标签,不传表示参数错误
items:
type: integer
type: array
required:
- ids
type: object
srv_videotag.HotTagItem:
properties:
tagId:
type: integer
title:
type: string
watchTimes:
type: integer
type: object
srv_videotag.HotTagResp:
properties:
list:
items:
$ref: '#/definitions/srv_videotag.HotTagItem'
type: array
type: object
srv_videotag.IpStatReq:
properties:
todayIP:
type: integer
yesterdayIP:
type: integer
type: object
srv_videotag.VideoTagInfoDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videotag.VideoTagInfoReq:
properties:
id:
type: integer
pageNum:
type: integer
pageSize:
type: integer
title:
type: string
type: object
srv_videotag.VideoTagInfoResp:
properties:
list:
items:
$ref: '#/definitions/videotagmod.VideoTagInfo'
type: array
total:
type: integer
type: object
srv_videotag.VideoTagInfoUpdate:
properties:
appId:
description: appId,唯一id
type: integer
images:
description: 背景
type: string
indexNow:
type: integer
isReIndexNow:
description: 是否重新提交索引
type: boolean
mediaTypes:
description: 作者关联的资源类型 1视频
items:
type: integer
type: array
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: 帖子标题
type: string
updatedAt:
type: string
works:
description: 作品数量
type: integer
type: object
translationcategorymod.TranslationCategory:
properties:
categoryType:
allOf:
- $ref: '#/definitions/pubdef.TranslationType'
description: 导航类型 1:url 2:二级导航 3:底部导航
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
type: object
translationmod.TranslationInfo:
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
type: object
usermod.User:
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:
allOf:
- $ref: '#/definitions/pubdef.LoginType'
description: 登陆方式
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:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 状态
sysMsgAt:
description: 获取系统消息时间
type: string
sysType:
description: 系统类型 ios android
type: string
updatedAt:
description: 更新时间
type: string
type: object
usermod.UserUpdate:
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:
allOf:
- $ref: '#/definitions/pubdef.LoginType'
description: 登陆方式
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:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 状态
sysMsgAt:
description: 获取系统消息时间
type: string
sysType:
description: 系统类型 ios android
type: string
updatedAt:
description: 更新时间
type: string
type: object
videocategorymod.VideoCategory:
properties:
createdAt:
description: 创建时间
type: string
desc:
description: 描述
type: string
displayMode:
allOf:
- $ref: '#/definitions/pubdef.DisplayMode'
description: 展示方式 0:默认 1:卡片层叠轮播 2:头像列表 3:图文列表 4:大封面列表
displayPosition:
allOf:
- $ref: '#/definitions/pubdef.CategoryDisplayPosition'
description: 显示位置 0=仅TAB 1=仅首页 2=两者都显示
id:
description: Id
type: integer
indexNow:
description: 是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改
type: integer
name:
description: 分类名称
type: string
rank:
description: 排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sortType:
allOf:
- $ref: '#/definitions/pubdef.CategorySortType'
description: 排序方式
status:
description: 上架状态
type: boolean
tags:
description: 关联视频标签
items:
type: integer
type: array
title:
description: APP显示
type: string
translationCategoryId:
description: 导航分类
type: integer
updatedAt:
description: 更新时间
type: string
type: object
videocreatermod.VideoCreaterInfo:
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视频
items:
type: integer
type: array
name:
description: 帖子标题
type: string
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
updatedAt:
description: 更新时间
type: string
works:
description: 作品数量
type: integer
type: object
videoinformationmod.HevcStatus:
enum:
- 0
- 1
- 2
- -1
type: integer
x-enum-comments:
HevcStatusFailed: 转码失败
HevcStatusNone: 未提交转码
HevcStatusPending: 转码中
HevcStatusSuccess: 转码成功
x-enum-varnames:
- HevcStatusNone
- HevcStatusPending
- HevcStatusSuccess
- HevcStatusFailed
videoinformationmod.MediaType:
enum:
- 0
- 1
- 2
- 3
type: integer
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:
properties:
images:
description: 图片
items:
type: string
type: array
nodeId:
description: 节点ID
type: string
text:
description: 文本
type: string
title:
description: 节点标题
type: string
url:
description: 链接
type: string
videos:
description: 视频信息列表
items:
$ref: '#/definitions/videoinformationmod.VideoInfo'
type: array
type: object
videoinformationmod.VideoInfo:
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
type: object
videoinformationmod.VideoInformation:
properties:
actressIds:
description: 女优ID
items:
type: integer
type: array
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:
allOf:
- $ref: '#/definitions/pubdef.FakeFlow'
description: 伪造流量
firstTag:
description: 一级标签
type: string
hevcFailCount:
description: 主视频转码累计失败次数
type: integer
hevcMetaInfo:
allOf:
- $ref: '#/definitions/videoinformationmod.VideoMetaInfo'
description: H265 视频元信息
hevcStatus:
allOf:
- $ref: '#/definitions/videoinformationmod.HevcStatus'
description: 主视频 H265 转码状态
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: 关键字
items:
type: string
type: array
mediaType:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 资源类型
nodes:
description: 节点
items:
$ref: '#/definitions/videoinformationmod.Node'
type: array
optionAccount:
description: 最后操作人
type: string
pageUpdatedAt:
description: 页面展示更新时间
type: string
previewVtt:
description: 雪碧图 vtt
type: string
real:
allOf:
- $ref: '#/definitions/pubdef.Flow'
description: 真实流量
realUpdateAt:
description: 播放相关数据更新时间
type: string
remark:
description: 备注
type: string
secondTags:
description: 二级标签标签
items:
type: string
type: array
secondUpdatedAt:
description: 二次修改时间
type: string
slug:
description: slug
type: string
smartCover:
description: 智能封面
type: string
sort:
description: 排序
type: integer
status:
allOf:
- $ref: '#/definitions/pubdef.InformationStatus'
description: 帖子上架状态
syncId:
description: 同步ID
type: string
tags:
description: 标签
items:
type: integer
type: array
title:
description: 标题
type: string
unencryptedImage:
description: 不加密封面
type: string
updatedAt:
description: 更新时间
type: string
uploadUserName:
description: 上传用户名
type: string
video:
allOf:
- $ref: '#/definitions/videoinformationmod.VideoInfo'
description: 视频
videoCount:
description: 合集视频数量
type: integer
type: object
videoinformationmod.VideoMetaInfo:
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
type: object
videotagmod.VideoTagInfo:
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视频
items:
type: integer
type: array
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: 帖子标题
type: string
updatedAt:
description: 更新时间
type: string
watchTimes:
description: 预计算:该标签下所有视频的累计播放量
type: integer
works:
description: 作品数量
type: integer
type: object
web_acc.AccOpLogReq:
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
type: object
web_acc.AccOpLogResp:
properties:
list:
items:
$ref: '#/definitions/srv_acc.OpLogInfo'
type: array
total:
type: integer
type: object
web_acc.BindQurlReq:
properties:
acc:
description: 账户
type: string
type: object
web_acc.BindQurlResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MainWebLoginReq:
properties:
acc:
description: 账户
type: string
code:
description: 验证码
type: string
pwd:
description: 密码
type: string
type: object
web_acc.MainWebLoginResp:
properties:
acc:
description: 账户
type: string
accId:
description: 账户id
type: integer
qurl:
description: 二维码
items:
type: integer
type: array
roleId:
description: 角色id
type: integer
token:
description: token
type: string
type: object
web_acc.MwAccAddReq:
properties:
acc:
description: 账户
type: string
email:
description: 邮箱
type: string
isEnb:
description: 使能
type: boolean
limitIP:
description: 允许访问的IP
items:
type: string
type: array
name:
description: 名称
type: string
pwd:
description: 密码
type: string
roleId:
description: 角色ID
type: integer
type: object
web_acc.MwAccAddResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwAccDelReq:
properties:
id:
description: 账号Id
type: integer
type: object
web_acc.MwAccDelResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwAccGetInfoReq:
properties:
id:
description: 角色id
type: integer
type: object
web_acc.MwAccGetInfoResp:
properties:
acc:
description: 账号
type: string
email:
description: 邮箱
type: string
id:
description: 账号Id
type: integer
isEnb:
description: 使能
type: boolean
limitIP:
description: 允许访问的IP
items:
type: string
type: array
pwd:
description: 密码
type: string
roleId:
description: 角色Id
type: integer
userName:
description: 用户名
type: string
type: object
web_acc.MwAccGetStatusReq:
properties:
id:
description: 角色id
type: integer
type: object
web_acc.MwAccGetStatusResp:
properties:
feedBack:
description: 禁用原因
type: string
id:
description: 账号Id
type: integer
isEnb:
description: 使能
type: boolean
userName:
description: 用户名
type: string
type: object
web_acc.MwAccListReq:
properties:
keyWords:
description: 搜索条件
type: string
pageNum:
type: integer
pageSize:
type: integer
status:
description: 状态 1正常 2 禁用
type: integer
type: object
web_acc.MwAccListResp:
properties:
accRec:
description: 当前页配置记录
items:
$ref: '#/definitions/web_acc.MwAccRec'
type: array
totalCount:
description: 总共数量
type: integer
type: object
web_acc.MwAccRec:
properties:
acc:
description: 账号
type: string
createdAt:
description: 创建时间
type: integer
email:
description: 邮箱
type: string
feedBack:
description: 禁用原因
type: string
id:
description: 账号Id
type: integer
isBase32:
description: |-
// 二步签名
Base32 string `json:"base32"`
是否已签名
type: boolean
isEnb:
description: 使能
type: boolean
limitIP:
description: 允许访问的IP
items:
type: string
type: array
pwd:
description: 密码
type: string
roleId:
description: 角色Id
type: integer
roleName:
description: 角色名
type: string
updatedAt:
description: 更新时间
type: integer
userName:
description: 用户名
type: string
type: object
web_acc.MwAccSaveStatusReq:
properties:
feedBack:
description: 禁用原因
type: string
id:
description: 账号Id
type: integer
isEnb:
description: 使能
type: boolean
userName:
description: 用户名
type: string
type: object
web_acc.MwAccSaveStatusResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwAccUpPwdReq:
properties:
id:
description: 账号Id
type: integer
pwd:
description: 密码
type: string
required:
- id
type: object
web_acc.MwAccUpReq:
properties:
acc:
description: 账号
type: string
email:
description: 邮箱
type: string
id:
description: 账号Id
type: integer
isEnb:
description: 使能
type: boolean
limitIP:
description: 允许访问的IP
items:
type: string
type: array
pwd:
description: 密码
type: string
roleId:
description: 角色Id
type: integer
userName:
description: 用户名
type: string
type: object
web_acc.MwAccUpResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwRoleAddReq:
properties:
desc:
description: 描述
type: string
isEnb:
description: 状态
type: boolean
name:
description: 名称
type: string
type: object
web_acc.MwRoleAddResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwRoleDelReq:
properties:
id:
description: 角色id
type: integer
type: object
web_acc.MwRoleDelResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwRoleDrop:
properties:
id:
description: 角色Id
type: integer
name:
description: 角色名称
type: string
type: object
web_acc.MwRoleDropResp:
properties:
roleDrop:
description: 是否成功 true:成功 false:未成功
items:
$ref: '#/definitions/web_acc.MwRoleDrop'
type: array
type: object
web_acc.MwRoleEnableReq:
properties:
id:
description: 角色id
type: integer
isEnb:
description: 状态
type: boolean
type: object
web_acc.MwRoleEnableResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwRoleGetAuthReq:
properties:
id:
description: 角色id
type: integer
type: object
web_acc.MwRoleGetAuthResp:
properties:
id:
description: 角色id
type: integer
router:
items:
$ref: '#/definitions/web_acc.Router'
type: array
type: object
web_acc.MwRoleGetInfoReq:
properties:
id:
description: 角色id
type: integer
type: object
web_acc.MwRoleGetInfoResp:
properties:
roleRec:
$ref: '#/definitions/web_acc.MwRoleRec'
type: object
web_acc.MwRoleListResp:
properties:
roleRecs:
description: 当前页配置记录
items:
$ref: '#/definitions/web_acc.MwRoleRec'
type: array
totalCount:
description: 总共数量
type: integer
type: object
web_acc.MwRoleRec:
properties:
apiMenus:
description: 已有权限的api
items:
type: string
type: array
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
type: object
web_acc.MwRoleUpAuthReq:
properties:
id:
description: 角色id
type: integer
router:
items:
$ref: '#/definitions/web_acc.Router'
type: array
type: object
web_acc.MwRoleUpAuthResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.MwRoleUpReq:
properties:
desc:
description: 描述
type: string
id:
description: 角色id
type: integer
isEnb:
description: 状态
type: boolean
name:
description: 名称
type: string
type: object
web_acc.MwRoleUpResp:
properties:
result:
description: 是否成功 true:成功 false:未成功
type: boolean
type: object
web_acc.Router:
properties:
apiUrl:
items:
$ref: '#/definitions/web_acc.Router_ApiUrl'
type: array
children:
items:
$ref: '#/definitions/web_acc.Router'
type: array
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
type: object
web_acc.Router_ApiUrl:
properties:
desc:
type: string
method:
items:
type: string
type: array
status:
type: boolean
url:
items:
type: string
type: array
type: object
web_acc.Router_Meta:
properties:
icon:
type: string
noCache:
type: boolean
title:
type: string
type: object
web_cfg.GetSysConfigReq:
type: object
web_cfg.GetSysConfigResp:
properties:
appAddr:
description: APP下载地址(落地页)
type: string
channelCode:
description: 渠道码
type: string
dhDescription:
description: 导航SEO描述
type: string
dhKeyworld:
description: 导航SEO关键字
items:
type: string
type: array
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 每天最多不同正片数,<=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里面默认封面图
items:
type: string
type: array
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: 所有使用中的域名
items:
type: string
type: array
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关键字
items:
type: string
type: array
webSiteName:
description: 网站SEO网站名称
type: string
webTitle:
description: SEO
type: string
weiChart:
description: 微信群
type: string
type: object
web_cfg.SysConfigUpdateReq:
properties:
appAddr:
description: APP下载地址(落地页)
type: string
channelCode:
description: 渠道码
type: string
dhDescription:
description: 导航SEO描述
type: string
dhKeyworld:
description: 导航SEO关键字
items:
type: string
type: array
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 每天最多不同正片数,<=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里面默认封面图
items:
type: string
type: array
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关键字
items:
type: string
type: array
webSiteName:
description: 网站SEO网站名称
type: string
webTitle:
description: SEO
type: string
weiChart:
description: 微信群
type: string
type: object
web_cfg.SysConfigUpdateResp:
type: object
web_commend.CommendDelIpReq:
properties:
ip:
type: string
type: object
web_commend.CommendDelReq:
properties:
id:
type: integer
required:
- id
type: object
web_commend.CommendReviewBatchReq:
properties:
ids:
items:
type: integer
type: array
reviewStatus:
type: integer
type: object
web_file.UploadImageResp:
properties:
path:
type: string
type: object
web_file.UploadImagesResp:
properties:
paths:
items:
type: string
type: array
type: object
host: localhost:12667
info:
contact: {}
description: 这是站群后台接口服务.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: 站群后台接口
version: "1.0"
paths:
/api/web/acc/add:
post:
consumes:
- application/json
description: 账号-添加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccAddResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-添加
tags:
- 账号
/api/web/acc/del:
post:
consumes:
- application/json
description: 账号-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccDelResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-删除
tags:
- 账号
/api/web/acc/getinfo:
get:
consumes:
- application/json
description: 账号-获取信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccGetInfoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccGetInfoResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-获取信息
tags:
- 账号
/api/web/acc/getstatus:
get:
consumes:
- application/json
description: 账号-获取状态
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccGetStatusReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccGetStatusResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-获取状态
tags:
- 账号
/api/web/acc/list:
get:
consumes:
- application/json
description: 账号-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-列表
tags:
- 账号
/api/web/acc/ops:
post:
consumes:
- application/json
description: 账号-获取操作记录
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.AccOpLogReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.AccOpLogResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-获取操作记录
tags:
- 账号
/api/web/acc/savestatus:
post:
consumes:
- application/json
description: 账号-保存状态
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccSaveStatusReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccSaveStatusResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-保存状态
tags:
- 账号
/api/web/acc/up:
post:
consumes:
- application/json
description: 账号-更新
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccUpReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccUpResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-更新
tags:
- 账号
/api/web/acc/uppwd:
post:
consumes:
- application/json
description: 账号-更新密码
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwAccUpPwdReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwAccUpPwdReq'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 账号-更新密码
tags:
- 账号
/api/web/actress/add:
post:
consumes:
- application/json
description: 添加一个女优信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_actress.ActressAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个女优信息
tags:
- 女优管理
/api/web/actress/del:
post:
consumes:
- application/json
description: 删除一个女优信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_actress.ActressDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个女优信息
tags:
- 女优管理
/api/web/actress/list:
get:
consumes:
- application/json
description: 分组分页获取女优信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_actress.ActressListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_actress.ActressListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取女优信息
tags:
- 女优管理
/api/web/actress/update:
post:
consumes:
- application/json
description: 更新一个女优信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_actress.ActressUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个女优信息
tags:
- 女优管理
/api/web/contactus/del:
post:
consumes:
- application/json
description: 删除一个联系我们
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_contactus.DelOneContactusReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 删除一个联系我们
tags:
- 联系我们
/api/web/contactus/list:
post:
consumes:
- application/json
description: 联系我们列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_contactus.GetContactusListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_contactus.GetContactusListResp'
"400":
description: 失败
schema:
type: string
summary: 联系我们列表
tags:
- 联系我们
/api/web/contactus/update:
post:
consumes:
- application/json
description: 修改联系我们状态
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_contactus.UpdateContactusReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 修改联系我们状态
tags:
- 联系我们
/api/web/content/tag/add:
post:
consumes:
- application/json
parameters:
- description: 新增统一标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.ContentTagAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.ContentTagAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 新增统一标签 -- by 王鸣
tags:
- web统一标签相关接口
/api/web/content/tag/del:
post:
consumes:
- application/json
parameters:
- description: 删除统一标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.ContentTagDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除统一标签 -- by 王鸣
tags:
- web统一标签相关接口
/api/web/content/tag/list:
get:
consumes:
- application/json
description: 分页查询统一标签配置
parameters:
- description: 标签ID
in: query
name: id
type: integer
- description: 标签名称,支持模糊查询
in: query
name: name
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 状态 true-启用 false-停用
in: query
name: status
type: boolean
- description: 内容类型 1-视频 5-短剧
enum:
- 1
- 5
in: query
name: type
type: integer
x-enum-comments:
ContentTagTypePlaylet: 短剧
ContentTagTypeVideo: 视频
x-enum-varnames:
- ContentTagTypeVideo
- ContentTagTypePlaylet
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.ContentTagListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 统一标签列表 -- by 王鸣
tags:
- web统一标签相关接口
/api/web/content/tag/option:
get:
consumes:
- application/json
description: 查询启用的统一标签下拉列表,传type时按支持类型过滤
parameters:
- description: 内容类型 1-视频 5-短剧,不传返回全部启用标签
enum:
- 1
- 5
in: query
name: type
type: integer
x-enum-comments:
ContentTagTypePlaylet: 短剧
ContentTagTypeVideo: 视频
x-enum-varnames:
- ContentTagTypeVideo
- ContentTagTypePlaylet
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.ContentTagOptionResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 统一标签下拉列表 -- by 王鸣
tags:
- web统一标签相关接口
/api/web/content/tag/update:
post:
consumes:
- application/json
parameters:
- description: 更新统一标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.ContentTagUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新统一标签 -- by 王鸣
tags:
- web统一标签相关接口
/api/web/detailnav/add:
post:
consumes:
- application/json
description: 详情页导航配置-增加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_detailnav.AddDetailNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 详情页导航配置-增加
tags:
- 详情页导航配置
/api/web/detailnav/del:
post:
consumes:
- application/json
description: 详情页导航配置-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_detailnav.DelDetailNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 详情页导航配置-删除
tags:
- 详情页导航配置
/api/web/detailnav/list:
post:
consumes:
- application/json
description: 详情页导航配置-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_detailnav.GetDetailNavListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_detailnav.GetDetailNavListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 详情页导航配置-列表
tags:
- 详情页导航配置
/api/web/detailnav/update:
post:
consumes:
- application/json
description: 详情页导航配置-更新
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_detailnav.UpdateDetailNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 详情页导航配置-更新
tags:
- 详情页导航配置
/api/web/file/uploadImg:
post:
consumes:
- application/json
description: 图片上传
parameters:
- description: 文件
in: formData
name: file
required: true
type: file
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_file.UploadImageResp'
"400":
description: 失败
schema:
type: string
summary: 图片上传
tags:
- 文件上传
/api/web/file/uploadImgs:
post:
consumes:
- application/json
description: 图片批量上传
parameters:
- description: 文件
in: formData
name: file[]
required: true
type: file
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_file.UploadImagesResp'
"400":
description: 失败
schema:
type: string
summary: 图片批量上传
tags:
- 文件上传
/api/web/home/banner/add:
post:
consumes:
- application/json
parameters:
- description: 新增首页banner请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeBannerAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.HomeBannerAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 新增首页banner -- by 王鸣
tags:
- web首页banner相关接口
/api/web/home/banner/del:
post:
consumes:
- application/json
parameters:
- description: 删除首页banner请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeBannerDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除首页banner -- by 王鸣
tags:
- web首页banner相关接口
/api/web/home/banner/list:
get:
consumes:
- application/json
description: 分页查询首页banner配置
parameters:
- description: 首页 banner ID
in: query
name: id
type: integer
- description: 名称,支持模糊查询
in: query
name: name
type: string
- description: 页码,默认1
in: query
name: pageNum
type: integer
- description: 每页数量,默认10,最大100
in: query
name: pageSize
type: integer
- description: 状态 true-启用 false-停用
in: query
name: status
type: boolean
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.HomeBannerListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 首页banner列表 -- by 王鸣
tags:
- web首页banner相关接口
/api/web/home/banner/update:
post:
consumes:
- application/json
parameters:
- description: 更新首页banner请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeBannerUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新首页banner -- by 王鸣
tags:
- web首页banner相关接口
/api/web/hotnav/add:
post:
consumes:
- application/json
description: 热门导航配置-增加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_hotnav.AddHotNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 热门导航配置-增加
tags:
- 热门导航配置
/api/web/hotnav/del:
post:
consumes:
- application/json
description: 热门导航配置-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_hotnav.DelHotNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 热门导航配置-删除
tags:
- 热门导航配置
/api/web/hotnav/list:
post:
consumes:
- application/json
description: 热门导航配置-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_hotnav.GetHotNavListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_hotnav.GetHotNavListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 热门导航配置-列表
tags:
- 热门导航配置
/api/web/hotnav/update:
post:
consumes:
- application/json
description: 热门导航配置-更新
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_hotnav.UpdateHotNavReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 热门导航配置-更新
tags:
- 热门导航配置
/api/web/ipblack/add:
post:
consumes:
- application/json
description: IP黑名单-增加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_ipblack.AddIPBlackListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: IP黑名单-增加
tags:
- IP黑名单
/api/web/ipblack/del:
post:
consumes:
- application/json
description: IP黑名单-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_ipblack.DelIpBlackListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: IP黑名单-删除
tags:
- IP黑名单
/api/web/ipblack/list:
post:
consumes:
- application/json
description: IP黑名单-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_ipblack.GetIPBlackListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_ipblack.GetIPBlackListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: IP黑名单-列表
tags:
- IP黑名单
/api/web/login/acc:
post:
consumes:
- application/json
description: 登录-登录
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MainWebLoginReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MainWebLoginResp'
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 登录-登录
tags:
- 登录
/api/web/login/bind:
post:
consumes:
- application/json
description: 登录-绑定二维码
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.BindQurlReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.BindQurlResp'
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 登录-绑定二维码
tags:
- 登录
/api/web/login/slogin:
post:
consumes:
- multipart/form-data
- application/json
description: 管理员sso登陆
parameters:
- description: 账号
in: formData
name: name
required: true
type: string
- description: 密码
in: formData
name: password
required: true
type: string
produces:
- application/json
- text/html
responses:
"200":
description: '{"msg": "管理员信息""}'
schema:
type: string
"400":
description: '{"msg": "操作失败"}'
schema:
type: string
summary: 管理员sso登陆
tags:
- web-单点登陆
/api/web/playlet/add:
post:
consumes:
- application/json
description: 新增 playlet 集合短剧数据,支持分类、题材、标签、支付方式、推荐和 banner 配置
parameters:
- description: 新增短剧请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端新增短剧 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/banner/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 showOnBanner 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧是否显示在首页banner请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletBannerSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧是否显示在首页banner -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/category/add:
post:
consumes:
- application/json
parameters:
- description: 新增短剧分类请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletCategoryAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletCategoryAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端新增短剧分类 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/category/del:
post:
consumes:
- application/json
parameters:
- description: 删除短剧分类请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletCategoryDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端删除短剧分类 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/category/list:
get:
consumes:
- application/json
description: 分页查询短剧分类
parameters:
- description: 分类ID
in: query
name: id
type: integer
- description: 分类名称,支持模糊查询
in: query
name: name
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 启用状态
in: query
name: status
type: boolean
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletCategoryListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧分类列表 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/category/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 categoryIds 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧分类请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletCategorySetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧分类 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/category/update:
post:
consumes:
- application/json
parameters:
- description: 更新短剧分类请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletCategoryUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端更新短剧分类 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/chapter/add:
post:
consumes:
- application/json
description: 新增 playlet_chapter 集合短剧剧集数据
parameters:
- description: 新增短剧剧集请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletChapterAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletChapterAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端新增短剧剧集 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/chapter/del:
post:
consumes:
- application/json
description: 根据剧集ID集合删除 playlet_chapter 记录,仅原创短剧支持删除
parameters:
- description: 单/批量删除短剧剧集请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletChapterDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量删除短剧剧集
tags:
- web短剧相关接口
/api/web/playlet/chapter/list:
get:
consumes:
- application/json
description: 分页查询 playlet_chapter 集合短剧剧集数据,默认按集数升序返回
parameters:
- description: 剧集ID
in: query
name: id
type: integer
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 短剧ID
in: query
name: playletId
type: integer
- description: 水印状态 0-未处理 1-已登记 2-处理中 3-已完成 4-处理失败
enum:
- 0
- 1
- 2
- 3
- 4
in: query
name: watermarkStatus
type: integer
x-enum-comments:
WatermarkStatusDone: 已完成
WatermarkStatusFailed: 处理失败
WatermarkStatusPending: 未处理(待 mediafile/sync)
WatermarkStatusProcessing: 处理中(已提交加水印任务,待回写)
WatermarkStatusRegistered: 已登记(原片已登记,待 task/add)
x-enum-varnames:
- WatermarkStatusPending
- WatermarkStatusRegistered
- WatermarkStatusProcessing
- WatermarkStatusDone
- WatermarkStatusFailed
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletChapterListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧剧集列表 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/chapter/pay-type/set:
post:
consumes:
- application/json
description: 根据剧集ID集合批量更新 playlet_chapter 集合 payType 和 singleCoins 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧剧集支付方式请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletChapterPayTypeSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧剧集支付方式 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/chapter/sync:
post:
consumes:
- application/json
description: 根据短剧ID集合从媒资中心同步新增剧集,playletIds传1个表示单条同步,传多个表示批量同步,允许已完结短剧补集或修正状态
parameters:
- description: 手动单/批量同步短剧剧集请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletChapterSyncReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletChapterSyncResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端手动单/批量同步短剧剧集
tags:
- web短剧相关接口
/api/web/playlet/chapter/update:
post:
consumes:
- application/json
description: 按剧集ID编辑 playlet_chapter 集合短剧剧集数据,只更新请求中传入的字段
parameters:
- description: 编辑短剧剧集请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletChapterUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端编辑短剧剧集 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/featured/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 isFeatured 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧是否爆剧请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletFeaturedSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧是否爆剧 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/like/virtual/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 virtualCountLike 字段,每条短剧从最小值和最大值之间随机取不重复数值入库
parameters:
- description: 单/批量随机设置短剧虚拟点赞数请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletVirtualLikeSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧虚拟点赞数 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/list:
get:
consumes:
- application/json
description: 分页查询短剧列表
parameters:
- description: 分类ID
in: query
name: categoryId
type: integer
- description: 内容类型,0-短剧、1-普通短剧/影集、2-漫画短剧、3-动漫、4-漫画
enum:
- 0
- 1
- 2
- 3
- 4
in: query
name: contentType
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: 短剧ID
in: query
name: id
type: integer
- description: 是否爆剧,true-是、false-否
in: query
name: isFeatured
type: boolean
- description: 是否原创:true只查原创,false只查非原创,不传查全部
in: query
name: isOriginal
type: boolean
- description: 是否推荐,true-推荐、false-不推荐
in: query
name: isRecommend
type: boolean
- description: 最后操作人名称,支持模糊查询
in: query
name: operatorName
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 支付方式,0-免费、1-金币、2-VIP
enum:
- 0
- 1
- 2
in: query
name: payType
type: integer
x-enum-comments:
PayTypeCoin: 金币
PayTypeFree: 免费
PayTypeVip: VIP
x-enum-varnames:
- PayTypeFree
- PayTypeCoin
- PayTypeVip
- description: 是否显示在首页banner,true-显示、false-不显示
in: query
name: showOnBanner
type: boolean
- description: 上架状态,0-下架、1-上架
enum:
- 0
- 1
in: query
name: status
type: integer
x-enum-comments:
StatusDown: 下架
StatusUp: 上架
x-enum-varnames:
- StatusDown
- StatusUp
- description: 标签ID
in: query
name: tagId
type: integer
- description: 题材ID
in: query
name: themeId
type: integer
- description: 短剧标题,支持模糊查询
in: query
name: title
type: string
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧列表 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/pay-type/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 payType/singleCoins 字段
parameters:
- description: 单/批量设置短剧默认支付方式请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletPayTypeSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧默认支付方式 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/recommend/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 isRecommend 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧是否推荐请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletRecommendSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧是否推荐 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/status/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 status 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧上下架请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletStatusSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧上下架 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/tag/add:
post:
consumes:
- application/json
parameters:
- description: 新增标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletTagAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletTagAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端新增标签 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/tag/del:
post:
consumes:
- application/json
parameters:
- description: 删除标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletTagDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端删除标签 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/tag/list:
get:
consumes:
- application/json
description: 分页查询短剧标签
parameters:
- in: query
name: id
type: integer
- in: query
name: name
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- in: query
name: status
type: boolean
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletTagListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端标签列表 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/tag/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 tagIds 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletTagSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧标签 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/tag/update:
post:
consumes:
- application/json
parameters:
- description: 更新标签请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletTagUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端更新标签 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/theme/add:
post:
consumes:
- application/json
parameters:
- description: 新增题材请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletThemeAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletThemeAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端新增题材 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/theme/del:
post:
consumes:
- application/json
parameters:
- description: 删除题材请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletThemeDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端删除题材 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/theme/list:
get:
consumes:
- application/json
description: 分页查询短剧题材
parameters:
- description: 题材ID
in: query
name: id
type: integer
- description: 题材名称,支持模糊查询
in: query
name: name
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 上架状态
in: query
name: status
type: boolean
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletThemeListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端题材列表 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/theme/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 themeIds 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 单/批量设置短剧题材请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletThemeSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧题材 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/theme/update:
post:
consumes:
- application/json
parameters:
- description: 更新题材请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletThemeUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端更新题材 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/update:
post:
consumes:
- application/json
description: 按短剧ID编辑 playlet 集合短剧数据,只更新请求中传入的字段
parameters:
- description: 编辑短剧请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端编辑短剧 -- by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/watermark/reset:
post:
consumes:
- application/json
description: 根据短剧ID集合重置剧集水印状态,保留已有水印地址以便换水印期间继续观看
parameters:
- description: 批量重置短剧水印请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletWatermarkResetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端按短剧ID批量重置剧集水印 -- by 王鸣
tags:
- web短剧相关接口
/api/web/post/comment/del:
post:
consumes:
- application/json
description: 删除一个评论
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_commend.CommendDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 删除一个评论
tags:
- 评论
/api/web/post/comment/list:
post:
consumes:
- application/json
description: 评论列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_commend.CommendSearch'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_commend.CommendSearchResp'
"400":
description: 失败
schema:
type: string
summary: 评论列表
tags:
- 评论
/api/web/post/comment/replay:
post:
consumes:
- application/json
description: 回复评论
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_commend.CommendReplay'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 回复评论
tags:
- 评论
/api/web/post/comment/review:
post:
consumes:
- application/json
description: 审核评论
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_commend.CommendReviewReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 审核评论
tags:
- 评论
/api/web/post/comment/reviewBatch:
post:
consumes:
- application/json
description: 批量审核评论
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_commend.CommendReviewBatchReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 批量审核评论
tags:
- 评论
/api/web/post/comment/user/del:
post:
consumes:
- application/json
description: 删除一个用户所有评论
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_commend.CommendDelIpReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 删除一个用户所有评论
tags:
- 评论
/api/web/questionnaire/handle:
post:
consumes:
- application/json
description: 只有状态为"待处理"的问卷才允许更新
parameters:
- description: 处理参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_questionnaire.HandleReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
summary: 处理问卷
tags:
- 问卷调查
/api/web/questionnaire/list:
post:
consumes:
- application/json
description: 支持分页及条件筛选(question_type、status、时间范围)
parameters:
- description: 查询参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_questionnaire.ListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_questionnaire.ListResp'
"400":
description: 失败
schema:
type: string
summary: 查询问卷列表
tags:
- 问卷调查
/api/web/resource/chapters:
get:
consumes:
- application/json
description: 按媒资ID查询剧集信息,复用入库时的 mediaSync 接口
parameters:
- description: 媒资中心资源ID
in: query
name: id
required: true
type: integer
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletResourceChapterListResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧媒资剧集列表 -- by 王鸣
tags:
- web媒资库相关接口
/api/web/resource/import:
post:
consumes:
- application/json
description: 提交媒资入库任务,后台从媒资中心同步短剧详情并写入短剧和章节集合
parameters:
- description: 短剧媒资入库请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletResourceUseReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧媒资入库 -- by 王鸣
tags:
- web媒资库相关接口
/api/web/resource/list:
get:
consumes:
- application/json
description: 分页查询短剧媒资列表
parameters:
- description: 媒体类型 1-动漫 2-漫画 4-漫画短剧 5-短剧 6-普通短剧
in: query
name: media_type
type: integer
- description: 页码
in: query
name: pageNumber
type: integer
- description: 个数
in: query
name: pageSize
type: integer
- description: 同步类型 1-全量同步 2-增量同步
in: query
name: sync_type
type: integer
- description: 标签
in: query
name: tag
type: string
- description: 标题
in: query
name: title
type: string
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletResourceListResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧媒资列表 -- by 王鸣
tags:
- web媒资库相关接口
/api/web/richtextcontent/add:
post:
consumes:
- application/json
description: 添加一个富文本内容
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/richtextcontentmod.RichTextContentModel'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个富文本内容
tags:
- 富文本内容
/api/web/richtextcontent/del:
post:
consumes:
- application/json
description: 删除一个富文本内容
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_richtextcontent.DelRichTextContentReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个富文本内容
tags:
- 富文本内容
/api/web/richtextcontent/list:
post:
consumes:
- application/json
description: 分组分页获取富文本内容
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_richtextcontent.GetRichTextContentListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_richtextcontent.GetRichTextContentResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取富文本内容
tags:
- 富文本内容
/api/web/richtextcontent/update:
post:
consumes:
- application/json
description: 更新一个富文本内容
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_richtextcontent.UpdateRichTextContentReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个富文本内容
tags:
- 富文本内容
/api/web/role/add:
post:
consumes:
- application/json
description: 角色-添加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleAddResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-添加
tags:
- 角色
/api/web/role/del:
post:
consumes:
- application/json
description: 角色-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleDelResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-删除
tags:
- 角色
/api/web/role/drop:
post:
consumes:
- application/json
description: 角色-下拉列表
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleDropResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-下拉列表
tags:
- 角色
/api/web/role/enable:
post:
consumes:
- application/json
description: 角色-使能
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleEnableReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleEnableResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-使能
tags:
- 角色
/api/web/role/getauth:
get:
consumes:
- application/json
description: 角色-获取权限
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleGetAuthReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleGetAuthResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-获取权限
tags:
- 角色
/api/web/role/getinfo:
get:
consumes:
- application/json
description: 角色-获取信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleGetInfoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleGetInfoResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-获取信息
tags:
- 角色
/api/web/role/list:
get:
consumes:
- application/json
description: 角色-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/pubdef.Page'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-列表
tags:
- 角色
/api/web/role/up:
post:
consumes:
- application/json
description: 角色-更新
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleUpReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleUpResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-更新
tags:
- 角色
/api/web/role/upauth:
get:
consumes:
- application/json
description: 角色-更新权限
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_acc.MwRoleUpAuthReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_acc.MwRoleUpAuthResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 角色-更新权限
tags:
- 角色
/api/web/slug/sync:
post:
consumes:
- application/json
description: 为视频、分类、女优、作者、短剧、统一标签等空 slug 按 SEO 关键词或名称自动生成。可重复调用,hasMore 为 true
时继续请求。type 为空处理全部,也可指定 video/videoCategory/actress/videoCreater/playlet/playletCategory/playletTheme/contentTag。
parameters:
- description: 同步参数
in: body
name: param
schema:
$ref: '#/definitions/proto.SlugSyncReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.SlugSyncResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 同步历史空 slug
tags:
- web slug相关接口
/api/web/stat/analytics:
post:
consumes:
- application/json
description: 统计数据
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 统计数据
tags:
- 获取统计数据
/api/web/stat/daily/analytics:
post:
consumes:
- application/json
description: 统计数据
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 统计数据
tags:
- 获取统计数据
/api/web/syscfg/get:
get:
consumes:
- application/json
description: 获取系统配置
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_cfg.GetSysConfigReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_cfg.GetSysConfigResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 获取系统配置
tags:
- 系统配置
/api/web/syscfg/update:
post:
consumes:
- application/json
description: 修改系统配置
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/web_cfg.SysConfigUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/web_cfg.SysConfigUpdateResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 修改系统配置
tags:
- 系统配置
/api/web/translation/add:
post:
consumes:
- application/json
description: 添加一个导航跳转信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/translationmod.TranslationInfo'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个导航跳转信息
tags:
- 导航跳转信息
/api/web/translation/del:
post:
consumes:
- application/json
description: 删除一个导航跳转信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translation.TranslationInfoDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个导航跳转信息
tags:
- 导航跳转信息
/api/web/translation/list:
post:
consumes:
- application/json
description: 分组分页获取导航跳转信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translation.TranslationInfoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_translation.TranslationInfoResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取导航跳转信息
tags:
- 导航跳转信息
/api/web/translation/update:
post:
consumes:
- application/json
description: 更新一个导航跳转信息
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translation.TranslationInfoUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个导航跳转信息
tags:
- 导航跳转信息
/api/web/translationcategory/add:
post:
consumes:
- application/json
description: 添加一个导航分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/translationcategorymod.TranslationCategory'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个导航分类
tags:
- 导航分类
/api/web/translationcategory/del:
post:
consumes:
- application/json
description: 删除一个导航分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个导航分类
tags:
- 导航分类
/api/web/translationcategory/list:
post:
consumes:
- application/json
description: 分组分页获取导航分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取导航分类
tags:
- 导航分类
/api/web/translationcategory/update:
post:
consumes:
- application/json
description: 更新一个导航分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_translationcategory.TranslationCategoryUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个导航分类
tags:
- 导航分类
/api/web/user/list:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_user.UserListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_user.UserListResp'
security:
- ApiKeyAuth: []
summary: 查询用户列表
tags:
- 用户管理
/api/web/user/update:
post:
consumes:
- application/json
parameters:
- description: 更新参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_user.UserUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新用户信息
tags:
- 用户管理
/api/web/videocategory/add:
post:
consumes:
- application/json
description: 添加一个视频分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/videocategorymod.VideoCategory'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个视频分类
tags:
- 视频分类
/api/web/videocategory/del:
post:
consumes:
- application/json
description: 删除一个视频分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocategory.VideoCategoryDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个视频分类
tags:
- 视频分类
/api/web/videocategory/list:
post:
consumes:
- application/json
description: 分组分页获取视频分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocategory.VideoCategoryReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videocategory.VideoCategoryResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取视频分类
tags:
- 视频分类
/api/web/videocategory/update:
post:
consumes:
- application/json
description: 更新一个视频分类
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocategory.VideoCategoryUpdate'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个视频分类
tags:
- 视频分类
/api/web/videocollection/media/list:
post:
consumes:
- application/json
description: 获取合集视频列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocollection.GetCollectionMediaListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videocollection.GetCollectionMediaListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 获取合集视频列表
tags:
- 合集管理
/api/web/videocollection/media/option:
post:
consumes:
- application/json
description: 修改合集里的视频列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocollection.VideoCollectionOptionMediaReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 修改合集里的视频列表
tags:
- 合集管理
/api/web/videocollection/media/rank:
post:
consumes:
- application/json
description: 修改合集里的视频排序
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocollection.UpdateCollectionMediaRankReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 修改合集里的视频排序
tags:
- 合集管理
/api/web/videocreater/add:
post:
consumes:
- application/json
description: 添加一个视频作者
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/videocreatermod.VideoCreaterInfo'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个视频作者
tags:
- 视频作者
/api/web/videocreater/del:
post:
consumes:
- application/json
description: 删除一个视频作者
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocreater.VideoCreaterDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个视频作者
tags:
- 视频作者
/api/web/videocreater/list:
post:
consumes:
- application/json
description: 分组分页获取视频作者
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocreater.VideoCreaterReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videocreater.VideoCreaterResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取视频作者
tags:
- 视频作者
/api/web/videocreater/update:
post:
consumes:
- application/json
description: 更新一个视频作者
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videocreater.VideoCreaterUpdate'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个视频作者
tags:
- 视频作者
/api/web/videoinfo/addTags:
post:
consumes:
- application/json
description: 根据视频ID集合批量追加统一标签,已存在的标签不会重复追加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.VideoAddTagsReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 批量追加视频标签 -- by 王鸣
tags:
- 视频管理
/api/web/videoinfo/addcoll:
post:
consumes:
- application/json
description: 新增一个视频合集
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.AddVideoCollectionReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 新增一个视频合集
tags:
- 视频管理
/api/web/videoinfo/del:
post:
consumes:
- application/json
description: 删除一个视频管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.VideoInfoDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个视频管理
tags:
- 视频管理
/api/web/videoinfo/list:
post:
consumes:
- application/json
description: 分组分页获取视频管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.VideoInfoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videoinfo.VideoInfoResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取视频管理
tags:
- 视频管理
/api/web/videoinfo/recommend/set:
post:
consumes:
- application/json
description: 根据视频ID集合批量更新 video_information 集合 isRecommend 字段,传1个ID表示单条设置,传多个ID表示批量设置
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.SetRecommendReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 单/批量设置视频是否推荐 -- by 王鸣
tags:
- 视频管理
/api/web/videoinfo/setFakeLikes:
post:
consumes:
- application/json
description: 根据ids批量随机设置视频fake.likes,随机范围包含最小值和最大值
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.SetFakeLikesReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videoinfo.SetFakeCountResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 单/批量设置视频假点赞数 --by 旺鸣
tags:
- 视频管理
/api/web/videoinfo/setFakeWatchTimes:
post:
consumes:
- application/json
description: 根据ids批量随机设置视频fake.watchTimes,随机范围包含最小值和最大值
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.SetFakeWatchTimesReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videoinfo.SetFakeCountResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 单/批量设置视频假观看次数 --by 旺鸣
tags:
- 视频管理
/api/web/videoinfo/sync:
post:
consumes:
- application/json
description: 从切片列表同步多个视频
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.AddVideoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 从切片列表同步多个视频
tags:
- 视频管理
/api/web/videoinfo/syncMediaFile:
post:
consumes:
- application/json
description: 从媒资库直同步到视频列表,后续切片同步时按 mediaSourceId 覆盖
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.SyncMediaFileReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 从媒资库直同步到视频列表
tags:
- 视频管理
/api/web/videoinfo/tag/set:
post:
consumes:
- application/json
description: 根据视频ID集合批量覆盖 video_information 集合 tags 字段,传1个ID表示单条设置,传多个ID表示批量设置,tagIds传空数组表示清空标签
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.VideoSetTagsReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 单/批量设置视频标签 -- by 王鸣
tags:
- 视频管理
/api/web/videoinfo/transcode:
post:
responses: {}
summary: 提交视频 H265 转码
tags:
- 视频管理
/api/web/videoinfo/update:
post:
consumes:
- application/json
description: 更新一个视频管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videoinfo.VideoInfoUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个视频管理
tags:
- 视频管理
/api/web/videotag/add:
post:
consumes:
- application/json
description: 添加一个标签管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/videotagmod.VideoTagInfo'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个标签管理
tags:
- 标签管理
/api/web/videotag/del:
post:
consumes:
- application/json
description: 删除一个标签管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotag.VideoTagInfoDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个标签管理
tags:
- 标签管理
/api/web/videotag/list:
post:
consumes:
- application/json
description: 分组分页获取标签管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotag.VideoTagInfoReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videotag.VideoTagInfoResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取标签管理
tags:
- 标签管理
/api/web/videotag/update:
post:
consumes:
- application/json
description: 更新一个标签管理
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotag.VideoTagInfoUpdate'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个标签管理
tags:
- 标签管理
/wbapi/hjsq/hottag:
get:
consumes:
- application/json
description: 根据视频累计播放量聚合返回热门标签列表
parameters:
- description: 返回条数,默认10,最大1000
in: query
name: limit
type: integer
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videotag.HotTagResp'
"400":
description: 获取失败的返回结果
schema:
type: string
summary: 查询播放量最多的标签
tags:
- 标签管理
/wbapi/hjsq/ipstat:
get:
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videotag.IpStatReq'
summary: 查询今日和昨日去重访客IP数
tags:
- IP统计
schemes:
- http
- https
securityDefinitions:
ApiKeyAuth:
in: header
name: Authorization
type: apiKey
BasicAuth:
type: basic
OAuth2AccessCode:
authorizationUrl: https://example.com/oauth/authorize
flow: accessCode
scopes:
admin: Grants read and write access to administrative information
tokenUrl: https://example.com/oauth/token
type: oauth2
OAuth2Application:
flow: application
scopes:
admin: Grants read and write access to administrative information
write: Grants write access
tokenUrl: https://example.com/oauth/token
type: oauth2
OAuth2Implicit:
authorizationUrl: https://example.com/oauth/authorize
flow: implicit
scopes:
admin: Grants read and write access to administrative information
write: Grants write access
type: oauth2
OAuth2Password:
flow: password
scopes:
admin: Grants read and write access to administrative information
read: Grants read access
write: Grants write access
tokenUrl: https://example.com/oauth/token
type: oauth2
swagger: "2.0"