mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-13 16:30:36 +00:00
12 lines
413 B
TypeScript
12 lines
413 B
TypeScript
import { defHttp } from '@/config/axios'
|
|
import type { LoginLogVO } from './types'
|
|
|
|
// 查询登录日志列表
|
|
export const getLoginLogPageApi = ({ params }) => {
|
|
return defHttp.get<PageResult<LoginLogVO>>({ url: '/system/login-log/page', params })
|
|
}
|
|
// 导出登录日志
|
|
export const exportLoginLogApi = (params) => {
|
|
return defHttp.get({ url: '/system/login-log/export', params, responseType: 'blob' })
|
|
}
|