1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 23:34:45 +00:00

Org export log (#6652)

* org admin export log

* optimize code

* optimize code

* optimize code

* update

* update code

* update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2024-09-02 18:07:40 +08:00
committed by GitHub
parent b4059f9bf7
commit 670ee89f24
14 changed files with 357 additions and 52 deletions

View File

@@ -49,6 +49,16 @@ class OrgAdminAPI {
return this.req.post(url);
}
orgAdminExportLogsExcel(orgID, start, end, logType) {
const url = this.server + '/api/v2.1/org/' + orgID + '/admin/logs/export-excel/';
const params = {
start: start,
end: end,
logType: logType
};
return this.req.get(url, { params: params });
}
}
let orgAdminAPI = new OrgAdminAPI();