feat: 补充缺少文件
This commit is contained in:
12
Yi.Pure.Vue3/src/api/log/loginLog.ts
Normal file
12
Yi.Pure.Vue3/src/api/log/loginLog.ts
Normal 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}`, {});
|
||||
};
|
||||
7
Yi.Pure.Vue3/src/api/log/operLog.ts
Normal file
7
Yi.Pure.Vue3/src/api/log/operLog.ts
Normal 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 });
|
||||
};
|
||||
Reference in New Issue
Block a user