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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user