feat(app): 初始化项目配置和页面结构
- 添加 .dockerignore 和 .env.example 配置文件 - 添加 .gitignore 忽略规则配置 - 创建服务端代理API路由(_file、_modules、_server) - 集成 Ant Design Vue 组件库并配置SSR样式提取 - 定义API响应类型封装 - 创建基础布局组件(blank、console) - 实现应用中心页面和组件(AppsCenter) - 添加文章列表测试页面 - 配置控制台导航菜单结构 - 实现控制台头部组件 - 创建联系页面表单
This commit is contained in:
38
app/api/system/login-record/model/index.ts
Normal file
38
app/api/system/login-record/model/index.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 登录日志
|
||||
*/
|
||||
export interface LoginRecord {
|
||||
// 登录日志id
|
||||
id: number;
|
||||
// 用户账号
|
||||
username: string;
|
||||
// 操作系统
|
||||
os: string;
|
||||
// 设备名称
|
||||
device: string;
|
||||
// 浏览器类型
|
||||
browser: string;
|
||||
// ip地址
|
||||
ip: string;
|
||||
// 操作类型, 0登录成功, 1登录失败, 2退出登录, 3续签token
|
||||
loginType: number;
|
||||
// 备注
|
||||
comments: string;
|
||||
// 操作时间
|
||||
createTime: string;
|
||||
// 用户昵称
|
||||
nickname: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录日志搜索条件
|
||||
*/
|
||||
export interface LoginRecordParam extends PageParam {
|
||||
username?: string;
|
||||
nickname?: string;
|
||||
createTimeStart?: string;
|
||||
createTimeEnd?: string;
|
||||
loginType?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user