feat: 长文本语音合成
This commit is contained in:
+213
-2
@@ -669,6 +669,36 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/favorite/removeAll": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"用户互动"
|
||||
],
|
||||
"summary": "清空所有收藏",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "节目ID",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/request.RemoveFavorite"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/history/add": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -699,6 +729,53 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/history/delete": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"用户互动"
|
||||
],
|
||||
"summary": "删除收听历史",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "节目ID",
|
||||
"name": "id",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/history/deleteAllHistory": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"用户互动"
|
||||
],
|
||||
"summary": "删除所有收听历史",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/history/list": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -2550,6 +2627,86 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/vip/config/detail": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"VIP管理"
|
||||
],
|
||||
"summary": "获取VIP配置详情",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "id",
|
||||
"name": "id",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/vip/config/update": {
|
||||
"post": {
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"VIP管理"
|
||||
],
|
||||
"summary": "更新VIP配置",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "VIP配置信息",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/request.UpdateVipConfig"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/vip/vip": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"VIP管理"
|
||||
],
|
||||
"summary": "开通vip",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -3235,6 +3392,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.UpdateVipConfig": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id",
|
||||
"price"
|
||||
],
|
||||
"properties": {
|
||||
"discountedPrice": {
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"price": {
|
||||
"type": "integer"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response.CaptchaRes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -3455,20 +3633,45 @@
|
||||
"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": {
|
||||
@@ -3477,10 +3680,14 @@
|
||||
"nickName": {
|
||||
"type": "string"
|
||||
},
|
||||
"openId": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"type": "string"
|
||||
},
|
||||
"saOpenId": {
|
||||
"province": {
|
||||
"description": "省份",
|
||||
"type": "string"
|
||||
},
|
||||
"sessionKey": {
|
||||
@@ -3494,6 +3701,10 @@
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"vipExpireAt": {
|
||||
"description": "VIP过期时间",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user