提交 | 用户 | 时间
|
314507
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export interface LoginLogVO { |
|
4 |
id: number |
|
5 |
logType: number |
|
6 |
traceId: number |
|
7 |
userId: number |
|
8 |
userType: number |
|
9 |
username: string |
|
10 |
result: number |
|
11 |
status: number |
|
12 |
userIp: string |
|
13 |
userAgent: string |
|
14 |
createTime: Date |
|
15 |
} |
|
16 |
|
|
17 |
// 查询登录日志列表 |
|
18 |
export const getLoginLogPage = (params: PageParam) => { |
|
19 |
return request.get({ url: '/system/login-log/page', params }) |
|
20 |
} |
|
21 |
|
|
22 |
// 导出登录日志 |
|
23 |
export const exportLoginLog = (params) => { |
|
24 |
return request.download({ url: '/system/login-log/export', params }) |
|
25 |
} |