Commit c9f227df authored by mingyard's avatar mingyard

feat:查看配置是否加载

parent 72371793
...@@ -23,6 +23,7 @@ export class TranslateService { ...@@ -23,6 +23,7 @@ export class TranslateService {
// 翻译文本 // 翻译文本
async translateText(translateDto: TranslateReqDto): Promise<TranslateResDto> { async translateText(translateDto: TranslateReqDto): Promise<TranslateResDto> {
console.log('config.deepl', config.deepl);
const result = await axiosPostRequest( const result = await axiosPostRequest(
`${config.deepl.endpoint}/v2/translate`, `${config.deepl.endpoint}/v2/translate`,
{ {
......
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