Commit 086762e7 authored by mingyard's avatar mingyard

feat:打印日志

parent e8fa3847
...@@ -129,8 +129,6 @@ export class TranslateService { ...@@ -129,8 +129,6 @@ export class TranslateService {
}, },
); );
console.log('result', result);
if (!result?.data) { if (!result?.data) {
throw BadRequestError.default('翻译失败'); throw BadRequestError.default('翻译失败');
} }
...@@ -224,6 +222,8 @@ export class TranslateService { ...@@ -224,6 +222,8 @@ export class TranslateService {
}, },
); );
console.log('result', result);
if (!result?.data || result?.data?.filename) { if (!result?.data || result?.data?.filename) {
throw BadRequestError.default('语音合成失败'); throw BadRequestError.default('语音合成失败');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment