mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 登录日志新增解锁和清空按钮
This commit is contained in:
@ -16,3 +16,19 @@ export function fetchBatchDeleteLoginInfor(infoIds: CommonType.IdType[]) {
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
/** 解锁系统访问记录 */
|
||||
export function fetchUnlockLoginInfor(username: string) {
|
||||
return request<boolean>({
|
||||
url: `/monitor/logininfor/unlock/${username}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/** 清空系统访问记录 */
|
||||
export function fetchCleanLoginInfor() {
|
||||
return request<boolean>({
|
||||
url: '/monitor/logininfor/clean',
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user