This commit is contained in:
ryan
2026-07-13 15:17:45 +08:00
parent 08e61ce833
commit e0eb4e5975
334 changed files with 17212 additions and 12321 deletions
+6 -3
View File
@@ -1,9 +1,12 @@
import {BaseService} from '@/lib/services/core';
import { BaseService } from '@/lib/services/core';
export class AdminLogService extends BaseService {
protected static readonly basePath = '/api/v1/admin';
static async getLogs(cursor: number = 0, limit: number = 200): Promise<{
static async getLogs(
cursor: number = 0,
limit: number = 200,
): Promise<{
lines: Array<{ index: number; data: string }>;
has_more: boolean;
next_cursor: number;
@@ -50,4 +53,4 @@ export class AdminLogService extends BaseService {
}> {
return this.get('/logs/analytics');
}
}
}