海外平台-数据全英文化

This commit is contained in:
2025-09-18 17:33:34 +08:00
parent 83eff7d1ee
commit 66e49673df
2 changed files with 4 additions and 1 deletions

View File

@ -157,6 +157,9 @@ public class FileController {
fileAttributeResp.setMsg(msg + CommonConstant.Heartbeat.FAIL);
fileAttributeResp.setResponse(CommonConstant.NEGATIV_ONE);
fileAttributeResp.setList(new ArrayList<>());
if(RedisKeyConstant.User.EN_US.equals(lang)){
fileAttributeResp.setMsg(TranslateUtils.translate(fileAttributeResp.getMsg()));
}
return DataResult.success(fileAttributeResp);
}
// String serialNo = vo.getSerialNo();