四零语境前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
367 B

import request from '@/api/request'
export default{
// 查询音色列表
async list(){
return request({
url: "/tts/list",
method: "GET",
needToken: true
})
},
// 文字转语音
async textToVoice(data){
return request({
url: "/tts/textToVoice",
method: "POST",
needToken: true,
data
})
},
}