no message

This commit is contained in:
kuaifan
2025-11-06 07:02:56 +00:00
parent 97e1f321ca
commit b9df277104
28 changed files with 472 additions and 78 deletions

View File

@@ -107,10 +107,10 @@ class SystemController extends AbstractController
}
}
if ($all['voice2text'] == 'open' && !Setting::AIOpen()) {
return Base::retError('开启语音转文字功能需要先设置 AI 助。');
return Base::retError('开启语音转文字功能需要在应用启用 AI 助。');
}
if ($all['translation'] == 'open' && !Setting::AIOpen()) {
return Base::retError('开启翻译功能需要先设置 AI 助。');
return Base::retError('开启翻译功能需要在应用启用 AI 助。');
}
if ($all['system_alias'] == env('APP_NAME')) {
$all['system_alias'] = '';