You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
634 B
34 lines
634 B
8 months ago
|
import { systemServer } from '../../index'
|
||
|
export interface LoginLogVO {
|
||
|
id: number
|
||
|
logType: number
|
||
|
traceId: number
|
||
|
userId: number
|
||
|
userType: number
|
||
|
username: string
|
||
|
result: number
|
||
|
status: number
|
||
|
userIp: string
|
||
|
userAgent: string
|
||
|
createTime: Date
|
||
|
}
|
||
|
|
||
|
// 查询登录日志列表
|
||
|
export const getLoginLogPage = (params: PageParam) => {
|
||
|
return systemServer({
|
||
|
url: '/login-log/page',
|
||
|
method: 'get',
|
||
|
params,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出登录日志
|
||
|
export const exportLoginLog = (params: any) => {
|
||
|
return systemServer({
|
||
|
url: '/login-log/export',
|
||
|
method: 'get',
|
||
|
params,
|
||
|
responseType: 'blob',
|
||
|
})
|
||
|
}
|