海外平台-数据全英文化
This commit is contained in:
@ -741,7 +741,7 @@ public interface CommonConstant {
|
|||||||
|
|
||||||
String FAIL = "断开";
|
String FAIL = "断开";
|
||||||
|
|
||||||
String FAIL_EN = "disconnect";
|
String FAIL_EN = " disconnect";
|
||||||
|
|
||||||
String SN_FAIL = "设备接入点离线";
|
String SN_FAIL = "设备接入点离线";
|
||||||
|
|
||||||
|
|||||||
@ -157,6 +157,9 @@ public class FileController {
|
|||||||
fileAttributeResp.setMsg(msg + CommonConstant.Heartbeat.FAIL);
|
fileAttributeResp.setMsg(msg + CommonConstant.Heartbeat.FAIL);
|
||||||
fileAttributeResp.setResponse(CommonConstant.NEGATIV_ONE);
|
fileAttributeResp.setResponse(CommonConstant.NEGATIV_ONE);
|
||||||
fileAttributeResp.setList(new ArrayList<>());
|
fileAttributeResp.setList(new ArrayList<>());
|
||||||
|
if(RedisKeyConstant.User.EN_US.equals(lang)){
|
||||||
|
fileAttributeResp.setMsg(TranslateUtils.translate(fileAttributeResp.getMsg()));
|
||||||
|
}
|
||||||
return DataResult.success(fileAttributeResp);
|
return DataResult.success(fileAttributeResp);
|
||||||
}
|
}
|
||||||
// String serialNo = vo.getSerialNo();
|
// String serialNo = vo.getSerialNo();
|
||||||
|
|||||||
Reference in New Issue
Block a user