|
@@ -10,7 +10,7 @@ export const fetchTtsList = (num: string) => {
|
|
|
|
|
|
export interface SaveTOTTSParams {
|
|
|
document: string
|
|
|
- voiceType: number
|
|
|
+ voiceType: string
|
|
|
speed: number
|
|
|
volume: number
|
|
|
num: string
|
|
@@ -25,7 +25,7 @@ export const saveTOTTS = (params: SaveTOTTSParams) => {
|
|
|
speed: String(params.speed),
|
|
|
volume: String(params.volume),
|
|
|
//
|
|
|
- voiceType: '101040'
|
|
|
+ voiceType: String(params.type)
|
|
|
})
|
|
|
}
|
|
|
|