feat: 补充缺少文件

This commit is contained in:
橙子
2024-09-18 21:38:22 +08:00
parent 099581dddc
commit 8c7afa2e7a
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
import { http } from "@/utils/http";
import type { Result, ResultPage } from "@/api/result";
/** 查询登录日志列表 */
export const getLoginLoglist = (query?: object) => {
return http.request<ResultPage>("get", "/login-log", { params: query });
};
/** 删除登录日志列表 */
export const delLoginLoglist = id => {
return http.request<Result>("delete", `/login-log/${id}`, {});
};

View File

@@ -0,0 +1,7 @@
import { http } from "@/utils/http";
import type { ResultPage } from "@/api/result";
/** 查询操作日志列表 */
export const getOperLoglist = (query?: object) => {
return http.request<ResultPage>("get", "/operation-log", { params: query });
};