海外平台-数据全英文化

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

@ -741,7 +741,7 @@ public interface CommonConstant {
String FAIL = "断开";
String FAIL_EN = "disconnect";
String FAIL_EN = " disconnect";
String SN_FAIL = "设备接入点离线";

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();