提交修改
This commit is contained in:
parent
f5f891b41a
commit
f777438195
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user