feat: 补充缺少文件
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -20,7 +20,7 @@ x86/
|
|||||||
bld/
|
bld/
|
||||||
[Bb]in/
|
[Bb]in/
|
||||||
[Oo]bj/
|
[Oo]bj/
|
||||||
[Ll]og/
|
[L]og/
|
||||||
|
|
||||||
# Visual Studio 2015 cache/options directory
|
# Visual Studio 2015 cache/options directory
|
||||||
.vs/
|
.vs/
|
||||||
|
|||||||
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