Commit 1f705f59 by 段启岩

添加系统日志

parent 7f190ae2
......@@ -73,6 +73,8 @@ public class SysLog implements Serializable {
this.operateType = userActionMessage.getAction().name();
if (userActionMessage.getAction().equals(UserAction.LOGIN_FAILURE)) {
this.operatorId = UserAction.LOGIN_FAILURE.name();
} else {
this.operatorIp = (String) userActionMessage.getSubject().getId();
}
this.operatorIp = userActionMessage.getSubject().getIpAddress();
}
......
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