feat: 长文本语音合成

This commit is contained in:
Blizzard
2026-03-09 17:25:23 +08:00
parent dda4d2e1d6
commit bdcd96a058
13 changed files with 358 additions and 23 deletions
+62 -3
View File
@@ -152,6 +152,18 @@ definitions:
description: 每页大小
type: integer
type: object
request.GetLikeList:
properties:
current:
description: 页码
type: integer
keyword:
description: 关键字
type: string
pageSize:
description: 每页大小
type: integer
type: object
request.GetMenuTree:
properties:
category:
@@ -193,8 +205,6 @@ definitions:
title:
description: 节目标题
type: string
required:
- channelId
type: object
request.GetRoleList:
properties:
@@ -1179,6 +1189,37 @@ paths:
summary: 获取收听历史列表
tags:
- 用户互动
/like/list:
post:
parameters:
- description: 分页查询
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.GetLikeList'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 获取收藏列表
tags:
- 用户互动
/like/removeAll:
get:
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 清空所有赞
tags:
- 用户互动
/like/toggle:
post:
parameters:
@@ -1816,6 +1857,24 @@ paths:
summary: 获取节目详情
tags:
- 节目管理
/radio/program/generate-tts:
get:
parameters:
- description: 节目ID
in: query
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 生成TTS语音
tags:
- 节目管理
/radio/program/list:
post:
parameters:
@@ -2267,7 +2326,7 @@ paths:
tags:
- 用户管理
/vip/config/detail:
get:
post:
parameters:
- description: id
in: query