Commit b84bb84a authored by zengtianlai3's avatar zengtianlai3

xss 存储型测试无效撤销

parent d4a4f836
......@@ -101,8 +101,8 @@ public class OperateController {
@MyLog(title = "获取告警列表", businessType = BusinessType.SELECT)
public ResResult<List<AlarmVo>> getAlarmList() {
String user = UserUtils.getLoginUserId();
int uId = Integer.valueOf(XssUtil.checkXSS(user));
List<AlarmVo> alarmList = alarmService.getAlarmList(uId);
int userI = Integer.valueOf(user);
List<AlarmVo> alarmList = alarmService.getAlarmList(userI);
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