wms-antdvue/.svn/pristine/89/89f294cf645305cbef1753807ef90404af082b45.svn-base
2024-11-07 16:33:03 +08:00

44 lines
791 B
Plaintext

import { http } from '@/utils/http/axios';
/**
* @description: 登录日志列表
*/
export function getLoginLogList(params?) {
return http.request({
url: '/admin/login/log/page',
method: 'GET',
params,
});
}
/**
* @description: 根据ID获取详情
*/
export function getLoginLogDetail(id) {
return http.request({
url: '/admin/login/log/detail/' + id,
method: 'get',
});
}
/**
* @description: 删除登录日志
*/
export function loginLogDelete(id) {
return http.request({
url: '/admin/login/log/delete/' + id,
method: 'DELETE',
});
}
/**
* @description: 批量删除登录日志
*/
export function loginLogBatchDelete(data: any) {
return http.request({
url: '/admin/login/log/batchDelete',
method: 'DELETE',
data,
});
}