需要实现 这个接口
import org.springframework.stereotype.Service; @Slf4j @Service @ConditionalOnProperty(prefix = "thyy.tts", name = "service", havingValue = "xfyun") public class XfTtsApi implements Tts { }
yaml thyy: tts: service: xfyun