mirror of https://gitee.com/stylefeng/roses
【8.1.9】【login log】登录日志增加一个account字段
parent
0a30323fa6
commit
ace49e5272
|
@ -79,6 +79,12 @@ public class SysLoginLogRequest extends BaseRequest {
|
|||
@ChineseDescription("用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户账号
|
||||
*/
|
||||
@ChineseDescription("用户账号")
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
|
|
@ -88,6 +88,13 @@ public class SysLoginLog {
|
|||
@SimpleFieldFormat(processClass = UserNameFormatProcess.class)
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 账号,登录失败异常记录账号
|
||||
*/
|
||||
@TableField(value = "account")
|
||||
@ChineseDescription("账号")
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE `sys_login_log` ADD COLUMN `account` varchar(255) NULL COMMENT '账号' AFTER `user_id`;
|
Loading…
Reference in New Issue