Commit e8fa3847 authored by mingyard's avatar mingyard

feat:打印合成结果

parent 67d4a95b
......@@ -30,7 +30,6 @@ export class TextToSpeechReqDto {
default: 5,
example: 5,
})
@Expose()
@IsOptional()
@IsNumber()
speed?: number = 5;
......
......@@ -129,6 +129,8 @@ export class TranslateService {
},
);
console.log('result', result);
if (!result?.data) {
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