Files
web_huangguo2_server/web/docs/swagger.yaml
T
2026-09-29 10:47:38 +08:00

9395 lines
228 KiB
YAML
Raw 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:
announcementmod.Announcement:
properties:
content:
description: 内容
type: string
createdAt:
description: 创建时间
type: string
id:
type: integer
sort:
description: 排序,越大越靠前
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题
type: string
updatedAt:
description: 更新时间
type: string
type: object
cointransmod.CoinTrans:
properties:
amount:
description: 本次交易金币数(正整数)
type: integer
balanceAfter:
description: 交易后余额
type: integer
balanceBefore:
description: 交易前余额
type: integer
createdAt:
description: 交易时间
type: string
flowDir:
allOf:
- $ref: '#/definitions/cointransmod.FlowDir'
description: 收支方向:1收入 -1支出
id:
description: 唯一ID
type: integer
orderNo:
description: 关联订单号(可为空)
type: string
relatedId:
description: 关联内容ID(视频等,可为空)
type: integer
remark:
description: 备注描述
type: string
tranType:
allOf:
- $ref: '#/definitions/cointransmod.TranType'
description: 交易类型
userId:
description: 用户ID
type: integer
userName:
description: 用户昵称(快照)
type: string
type: object
cointransmod.FlowDir:
enum:
- 1
- -1
type: integer
x-enum-comments:
FlowIn: 收入(充值、赠送)
FlowOut: 支出(消费、解锁)
x-enum-varnames:
- FlowIn
- FlowOut
cointransmod.TranType:
enum:
- 1
- 2
- 3
- 4
- 5
type: integer
x-enum-comments:
TranTypeAdminAdjust: 管理员手动调整
TranTypeCoinRecharge: 金币充值(购买金币)
TranTypeDarkAlley: 历史遗留交易类型(已下线)
TranTypeVideoUnlock: 视频解锁
TranTypeVipGiftCoin: 购买会员赠送金币
x-enum-varnames:
- TranTypeCoinRecharge
- TranTypeVipGiftCoin
- TranTypeDarkAlley
- TranTypeVideoUnlock
- TranTypeAdminAdjust
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
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.OperateType:
enum:
- 1
- 2
type: integer
x-enum-comments:
OperateTypeComic: 漫剧
OperateTypePlaylet: 短剧
x-enum-varnames:
- OperateTypePlaylet
- OperateTypeComic
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.ContactUsHandleReq:
properties:
ids:
description: 联系我们ID集合
items:
type: integer
type: array
remark:
description: 处理备注
type: string
status:
description: 处理状态,0-待处理、1-已处理
type: integer
required:
- ids
- status
type: object
proto.ContactUsHandleResp:
properties:
matchedCount:
description: 命中数量
type: integer
modifiedCount:
description: 修改数量
type: integer
type: object
proto.ContactUsListPageResp:
properties:
list:
description: 集合列表
pageNum:
description: 页数
type: integer
pageSize:
description: 每页数
type: integer
totalCount:
description: 总共数量
type: integer
type: object
proto.ContactUsListResp:
properties:
attachments:
description: 附件地址
items:
type: string
type: array
content:
description: 内容
type: string
createdAt:
description: 创建时间
type: string
email:
description: 邮箱
type: string
id:
description: ID
type: integer
remark:
description: 处理备注
type: string
status:
description: 处理状态,0-待处理、1-已处理
type: integer
title:
description: 标题
type: string
type:
description: 问题类型,1-订单问题、2-账号问题、3-功能问题、4-体验问题、5-其他
type: integer
updatedAt:
description: 更新时间
type: string
userId:
description: 用户ID
type: integer
userName:
description: 用户名称
type: string
type: object
proto.FeedbackHandleReq:
properties:
ids:
description: 意见反馈ID集合
items:
type: integer
type: array
remark:
description: 处理备注
type: string
status:
description: 处理状态,0-待处理、1-已处理
type: integer
required:
- ids
- status
type: object
proto.FeedbackHandleResp:
properties:
matchedCount:
description: 命中数量
type: integer
modifiedCount:
description: 修改数量
type: integer
type: object
proto.FeedbackListPageResp:
properties:
list:
description: 集合列表
pageNum:
description: 页数
type: integer
pageSize:
description: 每页数
type: integer
totalCount:
description: 总共数量
type: integer
type: object
proto.FeedbackListResp:
properties:
contact:
description: 联系方式
type: string
content:
description: 描述内容
type: string
createdAt:
description: 创建时间
type: string
id:
description: ID
type: integer
remark:
description: 处理备注
type: string
screenshots:
description: 问题截图
items:
type: string
type: array
status:
description: 处理状态,0-待处理、1-已处理
type: integer
type:
description: 问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他
type: integer
updatedAt:
description: 更新时间
type: string
userId:
description: 用户ID
type: integer
userName:
description: 用户名称
type: string
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.HomeConfigAddReq:
properties:
desc:
description: 描述
type: string
name:
description: 名称
type: string
rank:
description: 排序,越大越靠前
type: integer
sortType:
description: 排序字段 1-推荐 2-热播 3-最近更新 4-新片预告
type: integer
status:
description: 上下架状态 true-上架 false-下架
type: boolean
type:
description: 类型 1-短剧 2-视频 3-题材
type: integer
required:
- name
- sortType
- status
- type
type: object
proto.HomeConfigAddResp:
properties:
id:
description: ID
type: integer
type: object
proto.HomeConfigDelReq:
properties:
id:
description: ID
type: integer
required:
- id
type: object
proto.HomeConfigListPageResp:
properties:
list:
description: 集合列表
pageNum:
description: 页数
type: integer
pageSize:
description: 每页数
type: integer
totalCount:
description: 总共数量
type: integer
type: object
proto.HomeConfigUpdateReq:
properties:
desc:
description: 描述
type: string
id:
description: ID
type: integer
name:
description: 名称
type: string
rank:
description: 排序,越大越靠前
type: integer
sortType:
description: 排序字段 1-推荐 2-热播 3-最近更新 4-新片预告
type: integer
status:
description: 上下架状态 true-上架 false-下架
type: boolean
type:
description: 类型 1-短剧 2-视频 3-题材
type: integer
required:
- id
type: object
proto.PlayletAddReq:
properties:
anchor:
type: string
banner:
type: string
contentType:
$ref: '#/definitions/playletmod.ContentType'
cover:
type: string
desc:
type: string
horizontalCover:
description: 横版封面
type: string
isFeatured:
description: 是否爆剧(true-是,false-否)
type: boolean
isRecommend:
type: boolean
onlineAt:
description: 上架时间,上架时不传则按当前时间
type: string
operateType:
allOf:
- $ref: '#/definitions/playletmod.OperateType'
description: 运营类型 1-短剧 2-漫剧,不传默认短剧
payType:
allOf:
- $ref: '#/definitions/playletmod.PayType'
description: 支付方式 0-免费 1-金币 2-VIP
playName:
description: 剧名
type: string
preview:
type: string
recommendRank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
showOnBanner:
type: boolean
singleCoins:
description: 单集金币(支付方式为1-金币时候生效)
type: integer
slug:
description: slug,不传则按 SEO 关键词或标题自动生成
type: string
status:
$ref: '#/definitions/playletmod.Status'
tagIds:
items:
type: integer
type: array
themeIds:
items:
type: integer
type: array
title:
type: string
topRank:
type: integer
totalEpisode:
type: integer
required:
- title
type: object
proto.PlayletAddResp:
properties:
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.PlayletChapterAddReq:
properties:
currentEpisode:
type: integer
hash:
type: string
height:
type: integer
md5:
type: string
mediaSize:
type: integer
mediaSourceId:
type: string
mediaTime:
type: integer
payType:
$ref: '#/definitions/playletchaptermod.PayType'
playletId:
type: integer
ratio:
type: number
singleCoins:
type: integer
title:
type: string
videoUrl:
type: string
width:
type: integer
required:
- currentEpisode
- playletId
type: object
proto.PlayletChapterAddResp:
properties:
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:
type: integer
hash:
type: string
height:
type: integer
id:
type: integer
md5:
type: string
mediaSize:
type: integer
mediaTime:
type: integer
payType:
$ref: '#/definitions/playletchaptermod.PayType'
ratio:
type: number
singleCoins:
type: integer
title:
type: string
videoUrl:
type: string
width:
type: integer
required:
- id
type: object
proto.PlayletDelReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条删除,传多个表示批量删除
items:
type: integer
type: array
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.PlayletListSortType:
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
type: integer
x-enum-comments:
PlayletListSortCountBrowse: 浏览数
PlayletListSortCountCollect: 收藏数
PlayletListSortCountLike: 点赞数
PlayletListSortCreatedAt: 创建时间(默认)
PlayletListSortOnlineAt: 上架时间
PlayletListSortRecommendRank: 推荐排序
PlayletListSortUpdatedAt: 修改时间
x-enum-varnames:
- PlayletListSortCreatedAt
- PlayletListSortRecommendRank
- PlayletListSortUpdatedAt
- PlayletListSortCountLike
- PlayletListSortCountBrowse
- PlayletListSortCountCollect
- PlayletListSortOnlineAt
proto.PlayletOnlineAtFillResp:
properties:
updatedCount:
description: 本次回填数量
type: integer
type: object
proto.PlayletOperateTypeSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
operateType:
allOf:
- $ref: '#/definitions/playletmod.OperateType'
description: 运营类型 1-短剧 2-漫剧
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.PlayletResourceJHListItem:
properties:
actors:
description: 演员集合
items:
$ref: '#/definitions/proto.PlayletResourceMediaActor'
type: array
anchor:
description: 作者
type: string
create_time:
description: 创建时间
type: integer
data_version:
description: 数据版本
type: integer
horizontal_cover:
description: 横版封面
type: string
horizontalCover:
description: 兼容驼峰
type: string
id:
type: integer
isAdd:
description: 是否已入库
type: boolean
media_type:
description: 媒体类型
type: integer
sale_coin:
description: 整部售价
type: integer
summary:
description: 简介
type: string
tags_text:
description: 标签文字
type: string
terminal_cdo:
description: 上传者
type: string
title:
description: 标题
type: string
total_episode:
description: 总集数
type: integer
update_status:
description: 更新状态
type: integer
update_time:
description: 更新时间
type: integer
vertical_cover:
description: 竖版封面
type: string
verticalCover:
description: 兼容驼峰
type: string
vlogger_id:
type: integer
type: object
proto.PlayletResourceJHListResp:
properties:
list:
items:
$ref: '#/definitions/proto.PlayletResourceJHListItem'
type: array
total:
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.PlayletResourceMediaActor:
properties:
avatar:
description: 头像
type: string
gender:
description: 性别
type: integer
name:
description: 名称
type: string
type: object
proto.PlayletResourceUseReq:
properties:
ids:
description: 媒资中心资源ID集合-多个用逗号隔开,请求示例[28830,28829,28828,28827,28826,28825]
items:
type: integer
type: array
type: object
proto.PlayletSalesItem:
properties:
collectCount:
description: 期间新增且当前仍在的短剧收藏数
type: integer
cover:
type: string
id:
type: integer
likeCount:
description: 期间新增且当前仍在的短剧点赞数
type: integer
playName:
type: string
slug:
type: string
status:
$ref: '#/definitions/playletmod.Status'
title:
type: string
unlockCoins:
description: 金币解锁消耗
type: integer
unlockCount:
description: 金币解锁次数
type: integer
type: object
proto.PlayletSalesResp:
properties:
endTime:
description: 实际统计结束时间(北京时间)
type: string
list:
items:
$ref: '#/definitions/proto.PlayletSalesItem'
type: array
startTime:
description: 实际统计开始时间(北京时间)
type: string
type: object
proto.PlayletSalesSortType:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
PlayletSalesSortCollect: 收藏数
PlayletSalesSortLike: 点赞数
PlayletSalesSortUnlock: 金币解锁次数
x-enum-varnames:
- PlayletSalesSortUnlock
- PlayletSalesSortLike
- PlayletSalesSortCollect
proto.PlayletSlugSyncReq:
properties:
maxSize:
description: 本次最多处理的空 slug 记录数,默认500,最大2000
type: integer
type: object
proto.PlayletSlugSyncResp:
properties:
hasMore:
description: 是否还有未处理的历史数据
type: boolean
playletUpdated:
description: 本次补齐的短剧数
type: integer
tagUpdated:
description: 本次补齐的标签数
type: integer
themeUpdated:
description: 本次补齐的题材数
type: integer
type: object
proto.PlayletStatusSetReq:
properties:
ids:
description: 短剧ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
onlineAt:
description: 上架时间,上架时不传则按当前时间
type: string
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相关信息
slug:
description: slug,不传则按 SEO 关键词或名称自动生成
type: string
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相关信息
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
type: boolean
required:
- id
type: object
proto.PlayletThemeAddReq:
properties:
icon:
type: string
isRecommend:
description: 是否推荐
type: boolean
name:
type: string
rank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,不传则按 SEO 关键词或名称自动生成
type: string
status:
type: boolean
required:
- name
type: object
proto.PlayletThemeAddResp:
properties:
id:
type: integer
type: object
proto.PlayletThemeDelReq:
properties:
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.PlayletThemeRecommendSetReq:
properties:
ids:
description: 题材ID集合,传1个表示单条设置,传多个表示批量设置
items:
type: integer
type: array
isRecommend:
description: 是否推荐(true-推荐,false-取消推荐)
type: boolean
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:
type: string
id:
type: integer
isRecommend:
description: 是否推荐
type: boolean
name:
type: string
rank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
type: boolean
required:
- id
type: object
proto.PlayletUpdateReq:
properties:
anchor:
type: string
banner:
type: string
contentType:
$ref: '#/definitions/playletmod.ContentType'
cover:
type: string
desc:
type: string
horizontalCover:
description: 横版封面
type: string
id:
type: integer
isFeatured:
description: 是否爆剧(true-是,false-否)
type: boolean
isRecommend:
type: boolean
onlineAt:
description: 上架时间,新上架时不传则按当前时间
type: string
operateType:
allOf:
- $ref: '#/definitions/playletmod.OperateType'
description: 运营类型 1-短剧 2-漫剧
payType:
allOf:
- $ref: '#/definitions/playletmod.PayType'
description: 支付方式 0-免费 1-金币 2-VIP
playName:
description: 剧名
type: string
preview:
type: string
recommendRank:
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
showOnBanner:
type: boolean
singleCoins:
description: 单集金币(支付方式为1-金币时候生效)
type: integer
slug:
description: slug,历史数据为空时更新会自动生成
type: string
status:
$ref: '#/definitions/playletmod.Status'
tagIds:
items:
type: integer
type: array
themeIds:
items:
type: integer
type: array
title:
type: string
topRank:
type: integer
totalEpisode:
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.VideoSlugSyncReq:
properties:
maxSize:
description: 本次最多处理的空 slug 记录数,默认500,最大2000
type: integer
type: object
proto.VideoSlugSyncResp:
properties:
categoryUpdated:
description: 本次补齐的分类数
type: integer
createrUpdated:
description: 本次补齐的作者数
type: integer
hasMore:
description: 是否还有未处理的历史数据
type: boolean
tagUpdated:
description: 本次补齐的标签数
type: integer
topicUpdated:
description: 本次补齐的题材数
type: integer
videoUpdated:
description: 本次补齐的视频数
type: integer
type: object
pubdef.LoginType:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
LoginTypeAccount: 账号登陆
LoginTypeDevice: 设备登陆
LoginTypeEmail: 邮箱登陆
x-enum-varnames:
- LoginTypeDevice
- LoginTypeAccount
- LoginTypeEmail
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
pubdef.UserType:
enum:
- 0
- 1
- 0
type: integer
x-enum-comments:
UserTypeGuest: 游客用户
UserTypeNormal: 普通用户(已注册)
x-enum-varnames:
- UserTypeGuest
- UserTypeNormal
- UserTypeNone
pubdef.VipOrderStatus:
enum:
- 1
- 2
- 3
type: integer
x-enum-comments:
VipOrderFailed: 支付失败
VipOrderPending: 待支付
VipOrderSuccess: 支付成功
x-enum-varnames:
- VipOrderPending
- VipOrderSuccess
- VipOrderFailed
pubdef.VipType:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
VipTypeMonth: 月卡
VipTypeNone: 没卡
VipTypeYear: 年卡
x-enum-varnames:
- VipTypeNone
- VipTypeMonth
- VipTypeYear
rechargepackagemod.PackageType:
enum:
- 1
- 2
type: integer
x-enum-comments:
PackageTypeCoin: 金币充值
PackageTypeVip: 会员畅享
x-enum-varnames:
- PackageTypeVip
- PackageTypeCoin
rechargepackagemod.Status:
enum:
- 1
- 2
type: integer
x-enum-comments:
StatusDisabled: 停用
StatusEnabled: 启用
x-enum-varnames:
- StatusEnabled
- StatusDisabled
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_announcement.AddAnnouncementReq:
properties:
content:
description: 内容
type: string
sort:
description: 排序,越大越靠前
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题
type: string
required:
- title
type: object
srv_announcement.DelAnnouncementReq:
properties:
id:
type: integer
required:
- id
type: object
srv_announcement.GetAnnouncementListReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
status:
description: 是否启用
type: boolean
title:
description: 标题,模糊搜索
type: string
type: object
srv_announcement.GetAnnouncementListResp:
properties:
list:
items:
$ref: '#/definitions/announcementmod.Announcement'
type: array
total:
type: integer
type: object
srv_announcement.UpdateAnnouncementParam:
properties:
content:
type: string
sort:
type: integer
status:
type: boolean
title:
type: string
type: object
srv_announcement.UpdateAnnouncementReq:
properties:
id:
type: integer
param:
$ref: '#/definitions/srv_announcement.UpdateAnnouncementParam'
required:
- id
type: object
srv_cointrans.CoinTransReq:
properties:
endTime:
description: 结束时间 2006-01-02 15:04:05
type: string
flowDir:
allOf:
- $ref: '#/definitions/cointransmod.FlowDir'
description: 收支方向:1收入 -1支出
pageNum:
type: integer
pageSize:
type: integer
startTime:
description: 开始时间 2006-01-02 15:04:05
type: string
tranType:
allOf:
- $ref: '#/definitions/cointransmod.TranType'
description: 交易类型
userId:
description: 用户ID
type: integer
type: object
srv_cointrans.CoinTransResp:
properties:
list:
items:
$ref: '#/definitions/cointransmod.CoinTrans'
type: array
total:
type: integer
type: object
srv_commend.CommendReplay:
properties:
objectId:
description: 帖子ID
type: integer
parentsId:
description: 一级评论ID
type: integer
replyCommentId:
description: 被回复评论ID
type: integer
score:
description: 评分
type: integer
text:
description: 评论内容
type: string
userName:
description: 用户名
type: string
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:
description: 对象类型 10-短剧 11-短剧剧集 20-视频
type: integer
pageNum:
type: integer
pageSize:
type: integer
reviewStatus:
type: integer
text:
description: 评论内容
type: string
userId:
description: 评论用户ID
type: integer
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:
countLike:
description: 评论点赞数
type: integer
createdAt:
description: 创建时间
type: string
id:
description: 评论ID
type: integer
ip:
description: 评论IP
type: string
level:
description: 评论级别
type: integer
likes:
description: 点赞数
type: integer
objectId:
description: 对象ID
type: integer
objectName:
description: 对象名
type: string
objectType:
description: 对象类型 10-短剧 11-短剧剧集 20-视频
type: integer
parentsId:
description: 上级评论ID
type: integer
replyCommentId:
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
userAvatar:
description: 评论用户头像
type: string
userId:
description: 评论用户ID
type: integer
userName:
description: 用户名称
type: string
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_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_recharge.BillCallbackParam:
properties:
oid:
type: string
payMoney:
type: integer
paymentAt:
type: string
successAt:
type: string
transNo:
type: string
type: object
srv_rechargepackage.RechargePackageAddReq:
properties:
baseCoin:
description: 基础金币数,会员套餐传0
type: integer
durationDays:
description: 会员有效天数,金币套餐传0
type: integer
giftCoin:
description: 赠送金币数
type: integer
name:
description: 展示标题
type: string
originalPrice:
description: 原价,单位分
type: integer
packageType:
allOf:
- $ref: '#/definitions/rechargepackagemod.PackageType'
description: 套餐类型:1-会员畅享 2-金币充值
price:
description: 售价,单位分
type: integer
remark:
description: 后台备注
type: string
sort:
description: 排序,越小越靠前
type: integer
status:
allOf:
- $ref: '#/definitions/rechargepackagemod.Status'
description: 状态:1-启用 2-停用,默认1
required:
- name
- packageType
- price
type: object
srv_rechargepackage.RechargePackageDelReq:
properties:
id:
description: 套餐ID
type: integer
required:
- id
type: object
srv_rechargepackage.RechargePackageItem:
properties:
baseCoin:
description: 基础金币数
type: integer
createdAt:
description: 创建时间
type: string
durationDays:
description: 会员有效天数
type: integer
durationHours:
description: 会员有效小时数,由durationDays计算
type: integer
giftCoin:
description: 赠送金币数
type: integer
id:
description: 套餐ID
type: integer
name:
description: 展示标题
type: string
originalPrice:
description: 原价,单位分
type: integer
packageType:
allOf:
- $ref: '#/definitions/rechargepackagemod.PackageType'
description: 套餐类型:1-会员畅享 2-金币充值
price:
description: 售价,单位分
type: integer
remark:
description: 后台备注
type: string
sort:
description: 排序,越小越靠前
type: integer
status:
allOf:
- $ref: '#/definitions/rechargepackagemod.Status'
description: 状态:1-启用 2-停用
subTitle:
description: 展示副标题
type: string
totalCoin:
description: 到账总金币数,由baseCoin+giftCoin计算
type: integer
updatedAt:
description: 更新时间
type: string
type: object
srv_rechargepackage.RechargePackageListReq:
properties:
id:
description: 套餐ID
type: integer
name:
description: 展示标题,模糊搜索
type: string
packageType:
allOf:
- $ref: '#/definitions/rechargepackagemod.PackageType'
description: 套餐类型:1-会员畅享 2-金币充值
pageNum:
type: integer
pageSize:
type: integer
status:
allOf:
- $ref: '#/definitions/rechargepackagemod.Status'
description: 状态:1-启用 2-停用
type: object
srv_rechargepackage.RechargePackageListResp:
properties:
list:
description: 当前页列表
items:
$ref: '#/definitions/srv_rechargepackage.RechargePackageItem'
type: array
total:
description: 总数量
type: integer
type: object
srv_rechargepackage.RechargePackageStatusSetReq:
properties:
ids:
description: 套餐ID集合
items:
type: integer
type: array
status:
allOf:
- $ref: '#/definitions/rechargepackagemod.Status'
description: 状态:1-启用 2-停用
type: object
srv_rechargepackage.RechargePackageUpdateReq:
properties:
baseCoin:
description: 基础金币数
type: integer
durationDays:
description: 会员有效天数
type: integer
giftCoin:
description: 赠送金币数
type: integer
id:
description: 套餐ID
type: integer
name:
description: 展示标题
type: string
originalPrice:
description: 原价,单位分
type: integer
packageType:
allOf:
- $ref: '#/definitions/rechargepackagemod.PackageType'
description: 套餐类型:1-会员畅享 2-金币充值
price:
description: 售价,单位分
type: integer
remark:
description: 后台备注
type: string
sort:
description: 排序
type: integer
status:
allOf:
- $ref: '#/definitions/rechargepackagemod.Status'
description: 状态:1-启用 2-停用
required:
- id
type: object
srv_rechargepackage.VipPackageOption:
properties:
id:
description: 套餐ID
type: integer
name:
description: 套餐名称
type: string
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
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
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.GiftCoinReq:
properties:
coin:
description: 赠送金币数(正数=增加,负数=扣除)
type: integer
remark:
description: 备注(记录在流水表)
type: string
userId:
description: 目标用户ID
type: integer
required:
- coin
- userId
type: object
srv_user.UpdateVipReq:
properties:
packageId:
description: 会员畅享套餐ID
type: integer
userId:
description: 用户ID
type: integer
required:
- packageId
- userId
type: object
srv_user.UserListReq:
properties:
accountNo:
description: 账号(精确)
type: string
districtCode:
description: 渠道码
type: string
email:
description: 邮箱(精确)
type: string
id:
description: 用户ID
type: integer
nickName:
description: 昵称(模糊)
type: string
pageNum:
type: integer
pageSize:
type: integer
status:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 状态
type:
allOf:
- $ref: '#/definitions/pubdef.UserType'
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:
id:
description: 分类ID
type: integer
name:
description: 分类名称
type: string
pageNum:
type: integer
pageSize:
type: integer
type: object
srv_videocategory.VideoCategoryResp:
properties:
list:
items:
$ref: '#/definitions/videocategorymod.VideoCategory'
type: array
total:
type: integer
type: object
srv_videocategory.VideoCategoryUpdate:
properties:
appId:
description: appId,唯一id
type: integer
contentType:
description: '内容:0: 默认 1:首页 2:今日'
type: integer
desc:
description: 描述
type: string
indexNow:
type: integer
isReIndexNow:
description: 是否重新提交索引
type: boolean
name:
description: 名称
type: string
rank:
description: 排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sortType:
description: 排序方式 0:上线时间 1:观看次数 2排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: APP显示
type: string
updatedAt:
type: string
type: object
srv_videocategory.VideoCategoryUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_videocategory.VideoCategoryUpdate'
description: appId,唯一id
required:
- id
type: object
srv_videocreater.VideoCreaterDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videocreater.VideoCreaterReq:
properties:
id:
description: 分类ID
type: integer
name:
description: 分类名称
type: string
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
indexNow:
type: integer
isReIndexNow:
description: 是否重新提交索引
type: boolean
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
type: object
srv_videocreater.VideoCreaterUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_videocreater.VideoCreaterUpdate'
description: appId,唯一id
required:
- id
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
slug:
description: slug
type: string
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.SetFakeWatchTimesReq:
properties:
ids:
description: 视频ID集合,支持单个或批量
items:
type: integer
type: array
watchTimesMax:
description: 假观看次数随机最大值
type: integer
watchTimesMin:
description: 假观看次数随机最小值
type: integer
type: object
srv_videoinfo.VideoInfoDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videoinfo.VideoInfoReq:
properties:
categoryId:
description: 分类Id
type: integer
creatorId:
description: 作者Id
type: integer
creatorName:
description: 作者名称
type: string
endTime:
description: 创建时间-截止
type: string
id:
description: Id
type: integer
isH265:
description: 是否支持 H265
type: boolean
isHot:
description: 是否热门
type: boolean
isTop:
description: 是否置顶
type: boolean
keyworld:
description: 关键字
type: string
mediaType:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 资源类型
optionAccount:
description: 最后操作人
type: string
pageNum:
type: integer
pageSize:
type: integer
sort:
description: 排序方式 0=创建时间 1=上架时间 2=更新时间 3=排序值 4=播放次数
type: integer
startTime:
description: 创建时间-开始
type: string
status:
allOf:
- $ref: '#/definitions/videoinformationmod.InformationSatus'
description: 帖子上架状态
tag:
description: 标签
type: integer
title:
description: 标题
type: string
topicId:
description: 专题Id
type: integer
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:
addedTime:
type: string
categoryIds:
description: 分类Id
items:
type: integer
type: array
content:
type: string
cover:
description: 视频封面
type: string
coverImg:
description: 封面
type: string
creatorId:
description: 作者Id
type: integer
creatorName:
description: 作者名
type: string
desc:
description: 详细描述
type: string
firstTag:
description: 一级标签
type: string
height:
description: 分辨率高(视频才会存在)
type: integer
indexNow:
type: integer
isHot:
description: 是否热门
type: boolean
isReIndexNow:
description: 是否重新提交索引
type: boolean
isTop:
description: 是否置顶
type: boolean
keyworld:
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/videoinformationmod.InformationSatus'
description: 帖子上架状态
tags:
description: 标签
items:
type: integer
type: array
title:
description: 帖子标题
type: string
topicIds:
description: 专题ID
items:
type: integer
type: array
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_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.IpStatResp:
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
indexNow:
type: integer
isReIndexNow:
description: 是否重新提交索引
type: boolean
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: 帖子标题
type: string
updatedAt:
type: string
type: object
srv_videotag.VideoTagInfoUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_videotag.VideoTagInfoUpdate'
description: appId,唯一id
required:
- id
type: object
srv_videotopic.VideoTopicDelReq:
properties:
id:
type: integer
required:
- id
type: object
srv_videotopic.VideoTopicReq:
properties:
pageNum:
type: integer
pageSize:
type: integer
videoCategoryId:
type: integer
type: object
srv_videotopic.VideoTopicResp:
properties:
list:
items:
$ref: '#/definitions/videotopicmod.VideoTopicModel'
type: array
total:
type: integer
type: object
srv_videotopic.VideoTopicUpdate:
properties:
desc:
description: 描述
type: string
image:
description: 背景
type: string
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
status:
description: 上架状态
type: boolean
title:
description: APP显示
type: string
updatedAt:
type: string
videoCategoryId:
description: 视频分类id
type: integer
videoTopicType:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 视频类型
type: object
srv_videotopic.VideoTopicUpdateReq:
properties:
id:
type: integer
param:
allOf:
- $ref: '#/definitions/srv_videotopic.VideoTopicUpdate'
description: appId,唯一id
required:
- id
type: object
srv_viporder.RechargeSummaryResp:
properties:
coinAmount:
description: 金币成功订单金额(分)
type: integer
coinOrderCount:
description: 金币成功订单数
type: integer
endTime:
description: 实际统计结束时间(北京时间)
type: string
orderCount:
description: 成功订单数
type: integer
startTime:
description: 实际统计开始时间(北京时间)
type: string
totalAmount:
description: 成功订单金额合计(分)
type: integer
userCount:
description: 成功充值用户数(去重)
type: integer
vipAmount:
description: 会员成功订单金额(分)
type: integer
vipOrderCount:
description: 会员成功订单数
type: integer
type: object
srv_viporder.SyncDistrictCodeReq:
properties:
maxSize:
description: 本次最多扫描的空渠道码订单数,默认500,最大2000
type: integer
type: object
srv_viporder.SyncDistrictCodeResp:
properties:
hasMore:
description: 是否还有未处理的历史订单
type: boolean
orderUpdated:
description: 成功回填的订单数
type: integer
scanned:
description: 本次扫描的空渠道码订单数
type: integer
userSkipped:
description: 用户本身没有渠道码
type: integer
userUpdated:
description: 成功回填的用户数
type: integer
type: object
srv_viporder.VipOrderReq:
properties:
districtCode:
description: 渠道码
type: string
endTime:
description: 创建时间-结束
type: string
orderType:
allOf:
- $ref: '#/definitions/vipordermod.OrderType'
description: 订单类型:1会员 2金币
pageNum:
type: integer
pageSize:
type: integer
startTime:
description: 创建时间-开始
type: string
status:
allOf:
- $ref: '#/definitions/pubdef.VipOrderStatus'
description: 订单状态
tradeNo:
description: 订单号
type: string
userId:
description: 用户ID
type: integer
type: object
srv_viporder.VipOrderResp:
properties:
list:
items:
$ref: '#/definitions/vipordermod.VipOrder'
type: array
total:
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
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
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
deviceBrand:
description: 设备品牌
type: string
deviceModel:
description: 设备型号
type: string
districtCode:
description: 商区码
type: string
email:
description: 邮箱
type: string
gender:
description: 性别 0-未知,1-男,2-女
type: integer
id:
description: ID
type: integer
introduction:
description: 简介
type: string
inviteCode:
description: 邀请码
type: string
invites:
description: 我邀请的人的个数(我邀请他人)
type: integer
isDirect:
description: 是否是直推 true:是直推用户
type: boolean
isRegister:
description: 是否已注册
type: boolean
lastIp:
description: 上次登陆IP
type: string
lastLoginAt:
description: 上次登陆时间
type: string
loginType:
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
privacyMode:
description: 隐私模式:true-开启,false-关闭(默认)
type: boolean
recharge:
description: 当前充值余额,金币个数
type: integer
rechargeTotal:
description: 累计充值额,金币个数
type: integer
regIp:
description: 注册IP
type: string
region:
description: 地区
type: string
registerTime:
type: string
score:
description: 积分
type: integer
scoreInvites:
description: 邀请人获得的积分累计
type: integer
scoreLvName:
description: 积分等级名称
type: string
scoreTotal:
description: 累计积分
type: integer
sessionId:
description: 会话ID
type: string
showCardId:
description: 最新会员卡id
type: integer
showCardName:
description: 最新会员卡名称
type: string
status:
allOf:
- $ref: '#/definitions/pubdef.UserStatus'
description: 状态
sysMsgAt:
description: 获取系统消息时间
type: string
sysType:
description: 系统类型 ios android
type: string
systemName:
description: 系统名称
type: string
systemVersion:
description: 系统版本
type: string
type:
allOf:
- $ref: '#/definitions/pubdef.UserType'
description: 类型
updatedAt:
description: 更新时间
type: string
vipType:
allOf:
- $ref: '#/definitions/pubdef.VipType'
description: Vip类型
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
deviceBrand:
description: 设备品牌
type: string
deviceModel:
description: 设备型号
type: string
districtCode:
description: 商区码
type: string
email:
description: 邮箱
type: string
gender:
description: 性别 0-未知,1-男,2-女
type: integer
introduction:
description: 简介
type: string
inviteCode:
description: 邀请码
type: string
invites:
description: 我邀请的人的个数(我邀请他人)
type: integer
isDirect:
description: 是否是直推 true:是直推用户
type: boolean
isRegister:
description: 是否已注册
type: boolean
lastIp:
description: 上次登陆IP
type: string
lastLoginAt:
description: 上次登陆时间
type: string
loginType:
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
sessionId:
description: 会话ID
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
systemName:
description: 系统名称
type: string
systemVersion:
description: 系统版本
type: string
type:
allOf:
- $ref: '#/definitions/pubdef.UserType'
description: 类型
updatedAt:
description: 更新时间
type: string
vipType:
allOf:
- $ref: '#/definitions/pubdef.VipType'
description: Vip类型
type: object
videocategorymod.VideoCategory:
properties:
contentType:
description: '内容:0: 默认 1:首页 2:今日 3:合集'
type: integer
createdAt:
description: 创建时间
type: string
desc:
description: 描述
type: string
id:
description: Id
type: integer
indexNow:
description: 是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改
type: integer
name:
description: 分类名称
type: string
rank:
description: 排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sortType:
description: 排序方式 0:上线时间 1:观看次数 2排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: APP显示
type: string
updatedAt:
description: 更新时间
type: string
type: object
videocreatermod.VideoCreaterInfo:
properties:
createdAt:
description: 创建时间
type: string
id:
type: integer
indexNow:
description: 是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改
type: integer
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
type: object
videoinformationmod.FakeFlow:
properties:
watchTimes:
description: 假观看次数
type: integer
type: object
videoinformationmod.Flow:
properties:
collects:
description: 收藏数
type: integer
comments:
description: 评论条数
type: integer
likes:
description: 点赞数
type: integer
monthWatchs:
description: 本月观看次数
type: integer
showTimes:
description: 展示次数
type: integer
todayWatchs:
description: 当日观看次数
type: integer
watchTimes:
description: 观看次数
type: integer
weekWatchs:
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.InformationSatus:
enum:
- 0
- 1
- 2
type: integer
x-enum-comments:
InformationSatusVerifyCancel: 下架
InformationSatusVerifyOK: 上架
InformationSatusWaiting: 初始化
x-enum-varnames:
- InformationSatusWaiting
- InformationSatusVerifyOK
- InformationSatusVerifyCancel
videoinformationmod.MediaType:
enum:
- 0
- 1
- 2
- 3
type: integer
x-enum-comments:
MediaType_Advitise: 广告
MediaType_Collection: 合集
MediaType_Video: 视频(帖子)
MediaType_VideoV2: 视频
x-enum-varnames:
- MediaType_Video
- MediaType_Collection
- MediaType_Advitise
- MediaType_VideoV2
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: H265 视频地址
type: string
height:
description: 分辨率高(视频才会存在)
type: integer
preMp4FileNameFs:
description: 预览MP4文件
type: string
taskId:
description: 视频ID(视频才会存在)
type: string
unencryptedPreMp4:
description: 不加密的预览MP4
type: string
url:
description: 视频URl
type: string
videoTime:
description: 影片长度
type: integer
width:
description: 分辨率宽(视频才会存在)
type: integer
type: object
videoinformationmod.VideoInformation:
properties:
addedTime:
description: 帖子上架时间
type: string
audioFile:
description: 音频文件路径
type: string
categoryIds:
description: 分类Id (帖子用)
items:
type: integer
type: array
content:
description: 富文本
type: string
coverImg:
description: 封面
type: string
createdAt:
description: 创建时间
type: string
creatorId:
description: 作者Id
type: integer
creatorName:
description: 作者名称
type: string
desc:
description: 详细描述
type: string
fake:
allOf:
- $ref: '#/definitions/videoinformationmod.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
isTop:
description: 是否置顶
type: boolean
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/videoinformationmod.Flow'
description: 真实流量
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/videoinformationmod.InformationSatus'
description: 帖子上架状态
syncId:
description: 同步ID
type: string
tags:
description: 标签
items:
type: integer
type: array
title:
description: 帖子标题
type: string
topicIds:
description: 专题ID(视频用)
items:
type: integer
type: array
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
indexNow:
description: 是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
sort:
description: 排序
type: integer
status:
description: 上架状态
type: boolean
title:
description: 帖子标题
type: string
updatedAt:
description: 更新时间
type: string
watchTimes:
description: 预计算:该标签下所有视频的累计播放量
type: integer
type: object
videotopicmod.VideoTopicModel:
properties:
createdAt:
description: 创建时间
type: string
desc:
description: 描述
type: string
id:
description: Id
type: integer
image:
description: 背景
type: string
indexNow:
description: 是否需要提交 0:代表提交 1:表示已提交 运营通过接口可以修改
type: integer
name:
description: 专题名称
type: string
rank:
description: 排序
type: integer
seoInfo:
allOf:
- $ref: '#/definitions/pubdef.SeoValue'
description: Seo相关信息
slug:
description: slug
type: string
status:
description: 上架状态
type: boolean
title:
description: APP显示
type: string
updatedAt:
description: 更新时间
type: string
videoCategoryId:
description: 视频分类id
type: integer
videoTopicType:
allOf:
- $ref: '#/definitions/videoinformationmod.MediaType'
description: 视频类型
works:
description: 作品数
type: integer
type: object
vipordermod.OrderType:
enum:
- 1
- 2
type: integer
x-enum-comments:
OrderTypeCoin: 金币购买
OrderTypeVip: 会员购买
x-enum-varnames:
- OrderTypeVip
- OrderTypeCoin
vipordermod.VipOrder:
properties:
amount:
description: 支付金额(分)
type: integer
cardId:
description: ── VIP 专用 ──
type: integer
cardName:
description: 套餐名快照
type: string
coin:
description: 到账金币数(快照)
type: integer
coinCfgId:
description: ── 金币专用 ──
type: integer
createdAt:
description: 创建时间
type: string
districtCode:
description: 下单时用户渠道码
type: string
finishedAt:
description: 完成时间
type: string
id:
description: 唯一ID
type: integer
ipAddr:
description: 客户端 IP
type: string
oid:
description: 第三方订单号
type: string
orderType:
allOf:
- $ref: '#/definitions/vipordermod.OrderType'
description: 订单类型:1会员 2金币
payChannel:
description: 支付渠道
type: string
payMode:
description: 支付方式:overage/alipay/wechat
type: string
payRate:
description: 费率
type: string
payUrl:
description: 支付链接
type: string
payUrlMode:
description: 链接打开方式
type: string
status:
allOf:
- $ref: '#/definitions/pubdef.VipOrderStatus'
description: 订单状态
sysType:
description: ios/android
type: string
tradeNo:
description: 本地订单号
type: string
updatedAt:
description: 更新时间
type: string
userId:
description: 用户ID
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:
actressBackGround:
description: 女优通用背景图
type: string
advitiesTopicNum:
description: 广告间隔
type: integer
appAddr:
description: APP下载地址(落地页)
type: string
channelCode:
description: 渠道码
type: string
customerServiceHost:
description: 在线客服
type: string
dhDescription:
description: 导航SEO描述
type: string
dhKeyworld:
description: 导航SEO关键字
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
enableH265:
description: 是否允许客户端使用 H265 地址播放
type: boolean
foreverUrlAddr:
description: 永久地址
type: string
freeVPN:
description: 免费vpn链接
type: string
gitAddr:
description: git地址
type: string
gmailAddr:
description: 邮箱地址
type: string
id:
type: integer
imgAppCdn:
description: 图片CDN(app使用)
type: string
imgAppUsCdn:
description: 图片CDN(海外app使用)
type: string
imgWebCdn:
description: 图片CDN(web使用)
type: string
mediaAppCdn:
description: 视频CDN(app使用)
type: string
mediaAppUsCdn:
description: 视频CDN(海外app使用)
type: string
mediaWebCdn:
description: 视频CDN(web使用)
type: string
mp4Addr:
description: mp4地址(web使用)
type: string
newUrlAddr:
description: 网站管理
type: string
newUrlAddr1:
description: 最新地址(备用地址1)
type: string
newUrlAddr2:
description: 最新地址(备用地址2)
type: string
officialAppAddr:
description: 官网app地址
type: string
pdfAddr:
description: 回家的路PDF
type: string
potaoGroup:
description: 土豆群
type: string
qq:
description: qq群
type: string
sitemapDefaultImages:
description: Sitemap里面默认封面图
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
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:
actressBackGround:
description: 女优通用背景图
type: string
advitiesTopicNum:
description: 广告间隔
type: integer
appAddr:
description: APP下载地址(落地页)
type: string
channelCode:
description: 渠道码
type: string
customerServiceHost:
description: 在线客服
type: string
dhDescription:
description: 导航SEO描述
type: string
dhKeyworld:
description: 导航SEO关键字
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
enableH265:
description: 是否允许客户端使用 H265 地址播放
type: boolean
foreverUrlAddr:
description: 永久地址
type: string
freeVPN:
description: 免费vpn链接
type: string
gitAddr:
description: git地址
type: string
gmailAddr:
description: 邮箱地址
type: string
imgAppCdn:
description: 图片CDN(app使用)
type: string
imgAppUsCdn:
description: 图片CDN(海外app使用)
type: string
imgWebCdn:
description: 图片CDN(web使用)
type: string
mediaAppCdn:
description: 视频CDN(app使用)
type: string
mediaAppUsCdn:
description: 视频CDN(海外app使用)
type: string
mediaWebCdn:
description: 视频CDN(web使用)
type: string
mp4Addr:
description: mp4地址(web使用)
type: string
newUrlAddr:
description: 最新地址
type: string
newUrlAddr1:
description: 最新地址(备用地址1)
type: string
newUrlAddr2:
description: 最新地址(备用地址2)
type: string
officialAppAddr:
description: 官网app地址
type: string
pdfAddr:
description: 回家的路PDF
type: string
potaoGroup:
description: 土豆群
type: string
qq:
description: qq群
type: string
sitemapDefaultImages:
description: Sitemap里面默认封面图
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
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
webanalytics.AnalyticsDailyStat:
properties:
list:
description: 当月数据
items:
$ref: '#/definitions/webanalytics.LastWebStatInfo'
type: array
type: object
webanalytics.AnalyticsStat:
properties:
todayList:
description: 当日数据
items:
$ref: '#/definitions/webanalytics.LastWebStatInfo'
type: array
weekList:
description: 环比数据
items:
$ref: '#/definitions/webanalytics.LastWebStatInfo'
type: array
yestodayList:
description: 同比数据
items:
$ref: '#/definitions/webanalytics.LastWebStatInfo'
type: array
type: object
webanalytics.LastWebStatInfo:
properties:
activeUsers:
description: 最近半小时活跃数
type: integer
appId:
description: appId
type: integer
appName:
description: APP名称
type: string
leadAmount:
description: 日导量充值
type: number
leadNewCount:
description: 日导量新增
type: number
sumDate:
description: 时间半小时
type: string
yestodayActiveUsers:
description: 活跃用户数
type: integer
yestodayNewUsers:
description: 新增数量
type: integer
yestodayPV:
description: 页面浏览量 (PV)
type: integer
yestodaySessions:
description: 会话数
type: integer
yestodayUV:
description: 独立用户数 (UV)
type: integer
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/announcement/add:
post:
consumes:
- application/json
description: 公告-增加
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_announcement.AddAnnouncementReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 公告-增加
tags:
- 公告
/api/web/announcement/del:
post:
consumes:
- application/json
description: 公告-删除
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_announcement.DelAnnouncementReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 公告-删除
tags:
- 公告
/api/web/announcement/list:
post:
consumes:
- application/json
description: 公告-列表
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_announcement.GetAnnouncementListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_announcement.GetAnnouncementListResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 公告-列表
tags:
- 公告
/api/web/announcement/update:
post:
consumes:
- application/json
description: 公告-更新
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_announcement.UpdateAnnouncementReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 公告-更新
tags:
- 公告
/api/web/card/order/district/sync:
post:
consumes:
- application/json
description: 将历史订单中空的渠道码,按用户当前 districtCode 回填。可重复调用,hasMore 为 true 时继续请求。
parameters:
- description: 同步参数
in: body
name: param
schema:
$ref: '#/definitions/srv_viporder.SyncDistrictCodeReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_viporder.SyncDistrictCodeResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 同步历史订单渠道码
tags:
- 会员卡管理
/api/web/card/order/list:
post:
consumes:
- application/json
description: 分页查询充值订单,支持按 OrderType 筛选:1会员 2金币;不传 orderType 则返回全部类型
parameters:
- description: 查询参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_viporder.VipOrderReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_viporder.VipOrderResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 查询充值订单列表
tags:
- 会员卡管理
/api/web/coin/trans:
post:
consumes:
- application/json
description: 分页查询金币收支流水,支持按用户、收支方向、交易类型、时间范围筛选
parameters:
- description: 查询参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_cointrans.CoinTransReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_cointrans.CoinTransResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 查询金币交易记录
tags:
- 金币管理
/api/web/contactus/handle:
post:
consumes:
- application/json
description: 批量更新联系我们处理状态
parameters:
- description: web端联系我们处理请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.ContactUsHandleReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.ContactUsHandleResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端处理联系我们 -- by 旺鸣
tags:
- web联系我们相关接口
/api/web/contactus/list:
get:
consumes:
- application/json
description: 分页查询联系我们列表
parameters:
- description: 创建结束时间,格式:2026-06-09 00:00:00
in: query
name: createEndTime
type: string
- description: 创建开始时间,格式:2026-06-08 00:00:00
in: query
name: createStartTime
type: string
- description: 邮箱
in: query
name: email
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 处理状态,0-待处理、1-已处理
in: query
name: status
type: integer
- description: 问题类型,1-订单问题、2-账号问题、3-功能问题、4-体验问题、5-其他
in: query
name: type
type: integer
- description: 用户ID
in: query
name: userId
type: integer
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/proto.ContactUsListPageResp'
- properties:
list:
items:
$ref: '#/definitions/proto.ContactUsListResp'
type: array
type: object
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端联系我们列表 -- 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/feedback/handle:
post:
consumes:
- application/json
description: 批量更新意见反馈处理状态
parameters:
- description: web端意见反馈处理请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.FeedbackHandleReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.FeedbackHandleResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端处理意见反馈 -- by 旺鸣
tags:
- web意见反馈相关接口
/api/web/feedback/list:
get:
consumes:
- application/json
description: 分页查询用户意见反馈列表
parameters:
- description: 创建结束时间,格式:2026-06-09 00:00:00
in: query
name: createEndTime
type: string
- description: 创建开始时间,格式:2026-06-08 00:00:00
in: query
name: createStartTime
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: 处理状态,0-待处理、1-已处理
in: query
name: status
type: integer
- description: 问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他
in: query
name: type
type: integer
- description: 用户ID
in: query
name: userId
type: integer
produces:
- application/json
responses:
"200":
description: 成功
schema:
allOf:
- $ref: '#/definitions/proto.FeedbackListPageResp'
- properties:
list:
items:
$ref: '#/definitions/proto.FeedbackListResp'
type: array
type: object
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端意见反馈列表 -- by 旺鸣
tags:
- web意见反馈相关接口
/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/home/config/add:
post:
consumes:
- application/json
parameters:
- description: 新增首页配置请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeConfigAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.HomeConfigAddResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 新增首页配置 -- by 王鸣
tags:
- web首页配置相关接口
/api/web/home/config/del:
post:
consumes:
- application/json
parameters:
- description: 删除首页配置请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeConfigDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除首页配置 -- by 王鸣
tags:
- web首页配置相关接口
/api/web/home/config/list:
get:
consumes:
- application/json
description: 分页查询首页配置
parameters:
- description: 首页配置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: 排序字段 1-推荐 2-热播 3-最近更新 4-新片预告
in: query
name: sortType
type: integer
- description: 上下架状态 true-上架 false-下架
in: query
name: status
type: boolean
- description: 类型 1-短剧 2-视频 3-题材
in: query
name: type
type: integer
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.HomeConfigListPageResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 首页配置列表 -- by 王鸣
tags:
- web首页配置相关接口
/api/web/home/config/update:
post:
consumes:
- application/json
parameters:
- description: 更新首页配置请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.HomeConfigUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新首页配置 -- by 王鸣
tags:
- web首页配置相关接口
/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
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端新增短剧
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/chapter/add:
post:
consumes:
- application/json
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端新增章节
tags:
- web短剧相关接口
/api/web/playlet/chapter/del:
post:
consumes:
- application/json
description: 根据章节ID集合删除 playlet_chapter 记录,传1个ID表示单条删除,传多个ID表示批量删除;同时清理该剧集的点赞、收藏、解锁记录
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
parameters:
- in: query
name: id
type: integer
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- in: query
name: playletId
type: integer
- 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端章节列表
tags:
- web短剧相关接口
/api/web/playlet/chapter/pay-type/set:
post:
consumes:
- application/json
description: 根据章节ID集合批量更新 playlet_chapter 集合 payType 字段,传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端手动单/批量同步短剧剧集 --by 王鸣
tags:
- web短剧相关接口
/api/web/playlet/chapter/update:
post:
consumes:
- application/json
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端更新章节
tags:
- web短剧相关接口
/api/web/playlet/del:
post:
consumes:
- application/json
description: 根据短剧ID集合物理删除 playlet 与 playlet_chapter 记录;不删除点赞、收藏、评论、观看记录、解锁记录和支付流水
parameters:
- description: 单/批量删除短剧请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量物理删除短剧
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: 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
- 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: 是否原创(推荐)
in: query
name: isRecommend
type: boolean
- description: 运营类型 1-短剧 2-漫剧
enum:
- 1
- 2
in: query
name: operateType
type: integer
x-enum-comments:
OperateTypeComic: 漫剧
OperateTypePlaylet: 短剧
x-enum-varnames:
- OperateTypePlaylet
- OperateTypeComic
- 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
- in: query
name: showOnBanner
type: boolean
- description: slug,精确匹配
in: query
name: slug
type: string
- description: 排序:0创建时间(默认) 1推荐排序 2修改时间 3点赞数 4浏览数 5收藏数 6上架时间,均为降序
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
in: query
name: sortType
type: integer
x-enum-comments:
PlayletListSortCountBrowse: 浏览数
PlayletListSortCountCollect: 收藏数
PlayletListSortCountLike: 点赞数
PlayletListSortCreatedAt: 创建时间(默认)
PlayletListSortOnlineAt: 上架时间
PlayletListSortRecommendRank: 推荐排序
PlayletListSortUpdatedAt: 修改时间
x-enum-varnames:
- PlayletListSortCreatedAt
- PlayletListSortRecommendRank
- PlayletListSortUpdatedAt
- PlayletListSortCountLike
- PlayletListSortCountBrowse
- PlayletListSortCountCollect
- PlayletListSortOnlineAt
- description: 上架状态(0-下架 1-上架)
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
- 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端短剧列表
tags:
- web短剧相关接口
/api/web/playlet/online-at/fill:
post:
consumes:
- application/json
description: 将已上架且上架时间为空的短剧,上架时间设置为该条修改时间
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletOnlineAtFillResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: 临时回填空上架时间
tags:
- web短剧相关接口
/api/web/playlet/operate-type/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 operateType 字段,1-短剧 2-漫剧
parameters:
- description: 单/批量设置短剧运营类型请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletOperateTypeSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置短剧运营类型
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端单/批量设置短剧默认支付方式
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/sales:
get:
consumes:
- application/json
description: 按北京时间区间汇总金币解锁、短剧点赞、短剧收藏,最多返回前50条
parameters:
- description: 结束时间:2006-01-02 / 2006-01-02 15:04:05 / RFC3339
in: query
name: endTime
type: string
- description: 短剧ID
in: query
name: id
type: integer
- description: 排序:0金币解锁次数 1点赞数 2收藏数
enum:
- 0
- 1
- 2
in: query
name: sortType
type: integer
x-enum-comments:
PlayletSalesSortCollect: 收藏数
PlayletSalesSortLike: 点赞数
PlayletSalesSortUnlock: 金币解锁次数
x-enum-varnames:
- PlayletSalesSortUnlock
- PlayletSalesSortLike
- PlayletSalesSortCollect
- description: 开始时间:2006-01-02 / 2006-01-02 15:04:05 / RFC3339
in: query
name: startTime
type: string
- description: 标题模糊匹配
in: query
name: title
type: string
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletSalesResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端短剧销售数据
tags:
- web短剧相关接口
/api/web/playlet/slug/sync:
post:
consumes:
- application/json
description: 为题材、标签、分类、短剧中空的 slug 按 SEO 关键词或名称自动生成。可重复调用,hasMore 为 true 时继续请求。
parameters:
- description: 同步参数
in: body
name: param
schema:
$ref: '#/definitions/proto.PlayletSlugSyncReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.PlayletSlugSyncResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 同步历史空 slug
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端新增标签
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端删除标签
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
- description: slug,精确匹配
in: query
name: slug
type: string
- 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端标签列表
tags:
- web短剧相关接口
/api/web/playlet/tag/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 tagIds 字段,传1个ID表示单条设置,传多个ID表示批量设置;tagIds
可设置多个标签,传空数组表示清空标签
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端更新标签
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端新增题材
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端删除题材
tags:
- web短剧相关接口
/api/web/playlet/theme/list:
get:
consumes:
- application/json
description: 分页查询短剧题材
parameters:
- in: query
name: id
type: integer
- description: 是否推荐
in: query
name: isRecommend
type: boolean
- in: query
name: name
type: string
- in: query
name: pageNum
type: integer
- in: query
name: pageSize
type: integer
- description: slug,精确匹配
in: query
name: slug
type: string
- 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端题材列表
tags:
- web短剧相关接口
/api/web/playlet/theme/recommend/set:
post:
consumes:
- application/json
description: 根据题材ID集合批量更新 playlet_theme 集合 isRecommend 字段
parameters:
- description: 单/批量设置题材是否推荐请求
in: body
name: params
required: true
schema:
$ref: '#/definitions/proto.PlayletThemeRecommendSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端单/批量设置题材是否推荐
tags:
- web短剧相关接口
/api/web/playlet/theme/set:
post:
consumes:
- application/json
description: 根据短剧ID集合批量更新 playlet 集合 themeIds 字段,传1个ID表示单条设置,传多个ID表示批量设置;themeIds
可设置多个题材
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端更新题材
tags:
- web短剧相关接口
/api/web/playlet/update:
post:
consumes:
- application/json
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端更新短剧
tags:
- web短剧相关接口
/api/web/playlet/watermark/reset:
post:
consumes:
- application/json
description: 根据短剧ID集合,将其下全部剧集水印状态重置为未处理,并清空水印地址与 media 任务关联;原片地址不变,等待定时任务重新加水印
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批量重置剧集水印
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/recharge/package/add:
post:
consumes:
- application/json
parameters:
- description: 新增参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageAddReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
security:
- ApiKeyAuth: []
summary: 新增购买套餐 -- by 王鸣
tags:
- 套餐管理
/api/web/recharge/package/del:
post:
consumes:
- application/json
parameters:
- description: 删除参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除购买套餐 -- by 王鸣
tags:
- 套餐管理
/api/web/recharge/package/list:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageListReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageListResp'
security:
- ApiKeyAuth: []
summary: 查询购买套餐列表 -- by 王鸣
tags:
- 套餐管理
/api/web/recharge/package/status/set:
post:
consumes:
- application/json
parameters:
- description: 设置状态参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageStatusSetReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
security:
- ApiKeyAuth: []
summary: 单/批量设置购买套餐状态 -- by 王鸣
tags:
- 套餐管理
/api/web/recharge/package/update:
post:
consumes:
- application/json
parameters:
- description: 更新参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_rechargepackage.RechargePackageUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新购买套餐 -- by 王鸣
tags:
- 套餐管理
/api/web/recharge/package/vip/list:
post:
description: 只返回 PackageType=1 的启用套餐,字段仅包含 id 和 name,不分页
produces:
- application/json
responses:
"200":
description: 成功
schema:
items:
$ref: '#/definitions/srv_rechargepackage.VipPackageOption'
type: array
security:
- ApiKeyAuth: []
summary: 查询会员畅享套餐选项 -- by 王鸣
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/jh/chapters:
get:
consumes:
- application/json
description: 按媒资ID查询嘉华短剧剧集信息
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/jh/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/jh/list:
get:
consumes:
- application/json
description: 嘉华短剧媒资列表,固定查询 media_type=5,回填是否已入库,支持按 isAdd 筛选
parameters:
- description: 是否已入库:true只查已入库,false只查未入库,不传查全部
in: query
name: isAdd
type: boolean
- 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.PlayletResourceJHListResp'
"400":
description: 失败
schema:
type: string
security:
- ApiKeyAuth: []
summary: web端嘉华短剧媒资列表 -- by 王鸣
tags:
- web媒资库相关接口
/api/web/resource/list:
get:
consumes:
- application/json
description: 分页查询短剧媒资列表
parameters:
- description: 是否已加入后台数据:true只查已加入,false只查未加入,不传查全部
in: query
name: isAdd
type: boolean
- 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/stat/analytics:
post:
consumes:
- application/json
description: 统计数据
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/webanalytics.AnalyticsStat'
"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/webanalytics.AnalyticsDailyStat'
"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/third/paycenter/bill/callback:
post:
consumes:
- application/json
parameters:
- description: 回调参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_recharge.BillCallbackParam'
produces:
- application/json
responses:
"200":
description: success
schema:
type: string
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/giftcoin:
post:
consumes:
- application/json
description: coin 为正数表示赠送,为负数表示扣除;操作会自动记录金币流水
parameters:
- description: 赠送参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_user.GiftCoinReq'
produces:
- application/json
responses:
"200":
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/user/vip/update:
post:
consumes:
- application/json
description: 根据会员畅享套餐ID修改用户会员信息,不处理赠送金币
parameters:
- description: 修改会员参数
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_user.UpdateVipReq'
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.VideoCategoryUpdateReq'
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.VideoCreaterUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个视频作者
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/setFakeWatchTimes:
post:
consumes:
- application/json
description: 根据ids批量随机设置视频假观看次数
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/slug/sync:
post:
consumes:
- application/json
description: 为分类、标签、题材、作者、视频中空的 slug 按 SEO 关键词或名称自动生成。可重复调用,hasMore 为 true 时继续请求。
parameters:
- description: 同步参数
in: body
name: param
schema:
$ref: '#/definitions/proto.VideoSlugSyncReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/proto.VideoSlugSyncResp'
"400":
description: 参数错误
schema:
type: string
security:
- ApiKeyAuth: []
summary: 同步历史空 slug
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/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.VideoTagInfoUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个标签管理
tags:
- 标签管理
/api/web/videotopic/add:
post:
consumes:
- application/json
description: 添加一个视频专题
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/videotopicmod.VideoTopicModel'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 添加一个视频专题
tags:
- 视频专题
/api/web/videotopic/del:
post:
consumes:
- application/json
description: 删除一个视频专题
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotopic.VideoTopicDelReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 删除一个视频专题
tags:
- 视频专题
/api/web/videotopic/list:
post:
consumes:
- application/json
description: 分组分页获取视频专题
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotopic.VideoTopicReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videotopic.VideoTopicResp'
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 分组分页获取视频专题
tags:
- 视频专题
/api/web/videotopic/update:
post:
consumes:
- application/json
description: 更新一个视频专题
parameters:
- description: 参数列表
in: body
name: param
required: true
schema:
$ref: '#/definitions/srv_videotopic.VideoTopicUpdateReq'
produces:
- application/json
responses:
"200":
description: 成功
schema:
type: string
"400":
description: 获取失败的返回结果
schema:
type: string
security:
- ApiKeyAuth: []
summary: 更新一个视频专题
tags:
- 视频专题
/wbapi/cgdj/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/cgdj/ipstat:
get:
consumes:
- application/json
description: 返回 app 端同步到 MongoDB 的每日访问 IP 去重数
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_videotag.IpStatResp'
summary: 查询今日和昨日 IP 去重统计
tags:
- 标签管理
/wbapi/hgdj/recharge/summary:
get:
consumes:
- application/json
description: 按北京时间的开始/结束时间汇总支付成功订单金额与笔数
parameters:
- description: 开始时间,北京时间,支持 2006-01-02、2006-01-02 15:04:05、RFC3339
in: query
name: startTime
required: true
type: string
- description: 结束时间,北京时间,支持 2006-01-02、2006-01-02 15:04:05、RFC3339
in: query
name: endTime
required: true
type: string
produces:
- application/json
responses:
"200":
description: 成功
schema:
$ref: '#/definitions/srv_viporder.RechargeSummaryResp'
"400":
description: 失败
schema:
type: string
summary: 统计充值汇总
tags:
- wbapi统计
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"