-- 2026-06-02
DELETE FROM `sys_config`
WHERE `config_key` IN ('config_tts_provider_xfyun', 'config_tts_language_xf_tts');

INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`)
VALUES (136, '科大讯飞', 'config_tts_provider_xfyun', 'xf_tts', 'Y', 'admin', NOW(), '', NULL, 'TTS厂商-科大讯飞');

INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`)
VALUES (145, '讯飞tts语言设置', 'config_tts_language_xf_tts', '{"zh-CN":"中文"}', 'Y', 'admin', NOW(), '', NULL, '讯飞tts语言设置');

DELETE FROM `cc_tts_aliyun`
WHERE `voice_source` = 'xf_tts';

INSERT INTO `cc_tts_aliyun`
(`voice_name`, `voice_code`, `voice_enabled`, `voice_source`, `priority`, `provider`, `language_code`, `language_name`, `tts_models`)
VALUES
('科大讯飞-小燕', 'x4_xiaoyan', 1, 'xf_tts', 1, 'xfyun', 'zh-CN', '中文', 'standard');
