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
+95 -4
View File
@@ -813,6 +813,55 @@ const docTemplate = `{
}
}
},
"/like/list": {
"post": {
"produces": [
"application/json"
],
"tags": [
"用户互动"
],
"summary": "获取收藏列表",
"parameters": [
{
"description": "分页查询",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.GetLikeList"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.Response"
}
}
}
}
},
"/like/removeAll": {
"get": {
"produces": [
"application/json"
],
"tags": [
"用户互动"
],
"summary": "清空所有赞",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.Response"
}
}
}
}
},
"/like/toggle": {
"post": {
"produces": [
@@ -1880,6 +1929,34 @@ const docTemplate = `{
}
}
},
"/radio/program/generate-tts": {
"get": {
"produces": [
"application/json"
],
"tags": [
"节目管理"
],
"summary": "生成TTS语音",
"parameters": [
{
"type": "string",
"description": "节目ID",
"name": "id",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.Response"
}
}
}
}
},
"/radio/program/list": {
"post": {
"produces": [
@@ -2636,7 +2713,7 @@ const docTemplate = `{
}
},
"/vip/config/detail": {
"get": {
"post": {
"produces": [
"application/json"
],
@@ -2934,6 +3011,23 @@ const docTemplate = `{
}
}
},
"request.GetLikeList": {
"type": "object",
"properties": {
"current": {
"description": "页码",
"type": "integer"
},
"keyword": {
"description": "关键字",
"type": "string"
},
"pageSize": {
"description": "每页大小",
"type": "integer"
}
}
},
"request.GetMenuTree": {
"type": "object",
"properties": {
@@ -2967,9 +3061,6 @@ const docTemplate = `{
},
"request.GetProgramList": {
"type": "object",
"required": [
"channelId"
],
"properties": {
"channelId": {
"description": "频道ID",