mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-06-19 06:42:00 +08:00
30 lines
661 B
TypeScript
30 lines
661 B
TypeScript
import request from '@/config/axios'
|
|
|
|
export type OperateLogVO = {
|
|
id: number
|
|
traceId: string
|
|
userType: number
|
|
userId: number
|
|
userName: string
|
|
type: string
|
|
subType: string
|
|
bizId: number
|
|
action: string
|
|
extra: string
|
|
requestMethod: string
|
|
requestUrl: string
|
|
userIp: string
|
|
creator: string
|
|
creatorName: string
|
|
createTime: Date
|
|
}
|
|
|
|
// 查询操作日志列表
|
|
export const getOperateLogPage = (params: PageParam) => {
|
|
return request.get({ url: '/system/operate-log/page', params })
|
|
}
|
|
// 导出操作日志
|
|
export const exportOperateLog = (params: any) => {
|
|
return request.download({ url: '/system/operate-log/export', params })
|
|
}
|