提交修改

This commit is contained in:
quyixiao 2025-09-10 23:59:39 +08:00
parent f5f891b41a
commit f777438195

View File

@ -29,7 +29,7 @@ public class TranslationController {
TranslationResp resp = new TranslationResp();
resp.setLanguage(translationRequest.getLanguage());
resp.setContent(modelResult.getResult());
resp.setContent(translationRequest.getContent());
if(modelResult!=null){
resp.setTranslationContent(modelResult.getResult());