mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:09:49 +08:00
管理员日志
This commit is contained in:
21
src/api/admin-log.ts
Normal file
21
src/api/admin-log.ts
Normal 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,
|
||||
});
|
||||
}
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user