This commit is contained in:
weipengfei 2023-10-13 21:38:49 +08:00
parent 4e310b1a05
commit fcba21d708
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ async function handleCopy() {
import axios from "axios"
const http = ()=>{
const http = (text: any)=>{
return new Promise((resolve, reject)=>{
axios.post('https://chat.lihaink.cn/index/tts',{data: '你好'})
axios.post('https://chat.lihaink.cn/index/tts',{data: text})
.then(response => {
//
console.log('请求成功',response.data);