feat: 增加登录日志接口
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.cnbm.admin.execl;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SysLogLoginExcel {
|
||||
@Excel(name = "用户操作")
|
||||
private String operation;
|
||||
@Excel(name = "状态", replace = {"失败_0", "成功_1", "账号已锁定_1"})
|
||||
private Integer status;
|
||||
@Excel(name = "User-Agent")
|
||||
private String userAgent;
|
||||
@Excel(name = "操作IP")
|
||||
private String ip;
|
||||
@Excel(name = "用户名")
|
||||
private String creatorName;
|
||||
@Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createDate;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user