HELP.md 399 B

关于tts语言生成的配置注意

  1. 需要实现 这个接口

    import org.springframework.stereotype.Service;
       
    @Slf4j
    @Service
    @ConditionalOnProperty(prefix = "thyy.tts", name = "service", havingValue = "xfyun")
    public class XfTtsApi implements Tts {
            
    }
    
  2. 配置文件中

    thyy:
      tts:  
        service: xfyun