Commit 09ec6785 authored by AfirSraftGarrier's avatar AfirSraftGarrier

修改

parent 578223ad
......@@ -95,6 +95,11 @@ public class OperateController {
String user = UserUtils.getLoginUserId();
int userI = Integer.valueOf(user);
List<AlarmVo> alarmList = alarmService.getAlarmList(userI);
if (alarmList != null && !alarmList.isEmpty()) {
for (AlarmVo alarmVo : alarmList) {
alarmVo.setContent(ESAPI.encoder().encodeForHTML(alarmVo.getContent()));
}
}
return ResResult.success().goRecord(alarmList);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment