feat: 长文本语音合成

This commit is contained in:
Blizzard
2026-03-06 17:39:52 +08:00
parent 2583b5f302
commit dda4d2e1d6
24 changed files with 975 additions and 52 deletions
+141 -2
View File
@@ -480,6 +480,20 @@ definitions:
required:
- id
type: object
request.UpdateVipConfig:
properties:
discountedPrice:
type: integer
id:
type: string
price:
type: integer
remark:
type: string
required:
- id
- price
type: object
response.CaptchaRes:
properties:
captcha:
@@ -626,24 +640,46 @@ definitions:
$ref: '#/definitions/system.Oss'
avatarId:
type: string
city:
description: 城市
type: string
clientId:
type: string
country:
description: 国家
type: string
createdAt:
type: string
createdAtStr:
type: string
gender:
description: 性别 0:未知 1:男 2:女
type: integer
id:
description: 主键ID
type: string
miniOpenId:
isVip:
description: 是否VIP 0:否 1:是
type: integer
language:
description: 语言
type: string
lastLoginAt:
description: 最后登录时间
type: string
lastLoginIp:
description: 最后登录IP
type: string
name:
type: string
nickName:
type: string
openId:
type: string
phone:
type: string
saOpenId:
province:
description: 省份
type: string
sessionKey:
type: string
@@ -653,6 +689,9 @@ definitions:
type: string
updatedAt:
type: string
vipExpireAt:
description: VIP过期时间
type: string
type: object
info:
contact: {}
@@ -1053,6 +1092,25 @@ paths:
summary: 取消收藏
tags:
- 用户互动
/favorite/removeAll:
get:
parameters:
- description: 节目ID
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.RemoveFavorite'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 清空所有收藏
tags:
- 用户互动
/history/add:
post:
parameters:
@@ -1072,6 +1130,36 @@ paths:
summary: 添加收听历史
tags:
- 用户互动
/history/delete:
post:
parameters:
- description: 节目ID
in: query
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 删除收听历史
tags:
- 用户互动
/history/deleteAllHistory:
get:
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 删除所有收听历史
tags:
- 用户互动
/history/list:
post:
parameters:
@@ -2178,6 +2266,57 @@ paths:
summary: 更新用户
tags:
- 用户管理
/vip/config/detail:
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: 获取VIP配置详情
tags:
- VIP管理
/vip/config/update:
post:
consumes:
- application/json
parameters:
- description: VIP配置信息
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.UpdateVipConfig'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 更新VIP配置
tags:
- VIP管理
/vip/vip:
post:
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
summary: 开通vip
tags:
- VIP管理
securityDefinitions:
BearerAuth:
type: basic