mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	访问日志重构
This commit is contained in:
		| @@ -18,33 +18,12 @@ export interface ApiAccessLogVO { | ||||
|   resultMsg: string | ||||
|   createTime: Date | ||||
| } | ||||
|  | ||||
| export interface ApiAccessLogPageReqVO extends PageParam { | ||||
|   userId?: number | ||||
|   userType?: number | ||||
|   applicationName?: string | ||||
|   requestUrl?: string | ||||
|   beginTime?: Date[] | ||||
|   duration?: number | ||||
|   resultCode?: number | ||||
| } | ||||
|  | ||||
| export interface ApiAccessLogExportReqVO { | ||||
|   userId?: number | ||||
|   userType?: number | ||||
|   applicationName?: string | ||||
|   requestUrl?: string | ||||
|   beginTime?: Date[] | ||||
|   duration?: number | ||||
|   resultCode?: number | ||||
| } | ||||
|  | ||||
| // 查询列表API 访问日志 | ||||
| export const getApiAccessLogPageApi = (params: ApiAccessLogPageReqVO) => { | ||||
| export const getApiAccessLogPage = (params: PageParam) => { | ||||
|   return request.get({ url: '/infra/api-access-log/page', params }) | ||||
| } | ||||
|  | ||||
| // 导出API 访问日志 | ||||
| export const exportApiAccessLogApi = (params: ApiAccessLogExportReqVO) => { | ||||
| export const exportApiAccessLog = (params) => { | ||||
|   return request.download({ url: '/infra/api-access-log/export-excel', params }) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dtsz
					dtsz