You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
TypeScript
13 lines
378 B
TypeScript
import { useAxios } from '@/hooks/web/useAxios'
|
|
|
|
const request = useAxios()
|
|
|
|
// 查询登录日志列表
|
|
export const getLoginLogPageApi = (params) => {
|
|
return request.get({ url: '/system/login-log/page', params })
|
|
}
|
|
// 导出登录日志
|
|
export const exportLoginLogApi = (params) => {
|
|
return request.get({ url: '/system/login-log/export', params, responseType: 'blob' })
|
|
}
|