feat(m10): add audit retention policy configuration

This commit is contained in:
2026-05-25 15:05:54 +08:00
parent 250c5cbfeb
commit 147142f44f
4 changed files with 70 additions and 0 deletions
@@ -135,6 +135,10 @@ export function searchAuditEvents(params) {
* M10-F03 审计导出 CSV`GET /api/v1/audit-events/export`。
* @param {{ entityType?: string, entityId?: string | number, from?: string, to?: string }} params
*/
export function getAuditRetentionConfig() {
return axios.get('/api/v1/audit-events/retention-config');
}
export function exportAuditEvents(params) {
return axios.get("/api/v1/audit-events/export", { params, responseType: 'blob' });
}