mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-19 13:35:07 +08:00
refactor: vxe
This commit is contained in:
@ -1,5 +1,20 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface ApiAccessLogVO {
|
||||
id: number
|
||||
traceId: string
|
||||
userId: string
|
||||
userType: string
|
||||
applicationName: string
|
||||
requestMethod: string
|
||||
requestParams: string
|
||||
requestUrl: string
|
||||
beginTime: string
|
||||
endTIme: string
|
||||
duration: string
|
||||
resultCode: number
|
||||
}
|
||||
|
||||
// 查询列表API 访问日志
|
||||
export const getApiAccessLogPageApi = (params) => {
|
||||
return request.get({ url: '/infra/api-access-log/page', params })
|
||||
|
@ -1,14 +0,0 @@
|
||||
export type ApiAccessLogVO = {
|
||||
id: number
|
||||
traceId: string
|
||||
userId: string
|
||||
userType: string
|
||||
applicationName: string
|
||||
requestMethod: string
|
||||
requestParams: string
|
||||
requestUrl: string
|
||||
beginTime: string
|
||||
endTIme: string
|
||||
duration: string
|
||||
resultCode: number
|
||||
}
|
@ -1,5 +1,23 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface ApiErrorLogVO {
|
||||
id: number
|
||||
userId: string
|
||||
userIp: string
|
||||
userAgent: string
|
||||
userType: string
|
||||
applicationName: string
|
||||
requestMethod: string
|
||||
requestParams: string
|
||||
requestUrl: string
|
||||
exceptionTime: string
|
||||
exceptionName: string
|
||||
exceptionStackTrace: string
|
||||
processUserId: string
|
||||
processStatus: number
|
||||
resultCode: number
|
||||
}
|
||||
|
||||
// 查询列表API 访问日志
|
||||
export const getApiErrorLogPageApi = (params) => {
|
||||
return request.get({ url: '/infra/api-error-log/page', params })
|
||||
|
@ -1,17 +0,0 @@
|
||||
export type ApiErrorLogVO = {
|
||||
id: number
|
||||
userId: string
|
||||
userIp: string
|
||||
userAgent: string
|
||||
userType: string
|
||||
applicationName: string
|
||||
requestMethod: string
|
||||
requestParams: string
|
||||
requestUrl: string
|
||||
exceptionTime: string
|
||||
exceptionName: string
|
||||
exceptionStackTrace: string
|
||||
processUserId: string
|
||||
processStatus: number
|
||||
resultCode: number
|
||||
}
|
Reference in New Issue
Block a user