待机功能基本实现
This commit is contained in:
@@ -26,6 +26,8 @@ type result struct {
|
||||
Error error
|
||||
}
|
||||
|
||||
var DefaultTTS = &AliTTS{}
|
||||
|
||||
// onTaskFailed 识别过程中的错误处理回调参数
|
||||
func (tts *AliTTS) onTaskFailed(text string, param interface{}) {
|
||||
p, _ := param.(*result)
|
||||
|
||||
Reference in New Issue
Block a user