管理员日志

This commit is contained in:
unknown
2023-07-29 17:27:21 +08:00
parent 540d1e01e7
commit a6923632d1
10 changed files with 226 additions and 0 deletions

21
src/api/admin-log.ts Normal file
View File

@@ -0,0 +1,21 @@
import client from "./internal/httpClient";
export function adminLogList(
page: number,
size: number,
admin_id: number | null,
title: string,
opt: string,
start_time: string,
end_time: string
) {
return client.get("/backend/v1/admin/log/index", {
page: page,
size: size,
admin_id: admin_id,
title: title,
opt: opt,
start_time: start_time,
end_time: end_time,
});
}

View File

@@ -14,3 +14,4 @@ export * as upload from "./upload";
export * as user from "./user";
export * as appConfig from "./app-config";
export * as dashboard from "./dashboard";
export * as adminLog from "./admin-log";