feat: 长文本语音合成
This commit is contained in:
+95
-4
@@ -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",
|
||||
|
||||
+95
-4
@@ -806,6 +806,55 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -1873,6 +1922,34 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/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": [
|
||||
@@ -2629,7 +2706,7 @@
|
||||
}
|
||||
},
|
||||
"/vip/config/detail": {
|
||||
"get": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -2927,6 +3004,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.GetLikeList": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"current": {
|
||||
"description": "页码",
|
||||
"type": "integer"
|
||||
},
|
||||
"keyword": {
|
||||
"description": "关键字",
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "每页大小",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.GetMenuTree": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -2960,9 +3054,6 @@
|
||||
},
|
||||
"request.GetProgramList": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"channelId"
|
||||
],
|
||||
"properties": {
|
||||
"channelId": {
|
||||
"description": "频道ID",
|
||||
|
||||
+62
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user