diff --git a/main/manager-api/src/main/resources/db/changelog/202505042342.sql b/main/manager-api/src/main/resources/db/changelog/202505042342.sql new file mode 100644 index 000000000..ef083c287 --- /dev/null +++ b/main/manager-api/src/main/resources/db/changelog/202505042342.sql @@ -0,0 +1,4 @@ +-- 添加腾讯语音合成模型供应器 +delete from `ai_model_provider` where id = 'SYSTEM_TTS_TencentTTS'; +INSERT INTO `ai_model_provider` (`id`, `model_type`, `provider_code`, `name`, `fields`, `sort`, `creator`, `create_date`, `updater`, `update_date`) VALUES +('SYSTEM_TTS_TencentTTS', 'TTS', 'tencent', '腾讯语音合成', '[{"key":"appid","label":"应用ID","type":"string"},{"key":"secret_id","label":"Secret ID","type":"string"},{"key":"secret_key","label":"Secret Key","type":"string"},{"key":"output_dir","label":"输出目录","type":"string"},{"key":"region","label":"区域","type":"string"},{"key":"voice","label":"音色ID","type":"string"},{"key":"fast_voice_type","label":"FastVoiceType","type":"string"}]', 5, 1, NOW(), 1, NOW()); diff --git a/main/manager-api/src/main/resources/db/changelog/db.changelog-master.yaml b/main/manager-api/src/main/resources/db/changelog/db.changelog-master.yaml index aaef45bc1..047a47f4d 100755 --- a/main/manager-api/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/main/manager-api/src/main/resources/db/changelog/db.changelog-master.yaml @@ -99,4 +99,11 @@ databaseChangeLog: changes: - sqlFile: encoding: utf8 - path: classpath:db/changelog/202505012207.sql \ No newline at end of file + path: classpath:db/changelog/202505012207.sql + - changeSet: + id: 202505042342 + author: Kevin1sMe + changes: + - sqlFile: + encoding: utf8 + path: classpath:db/changelog/202505042342.sql \ No newline at end of file