feat(web): 管理面调用日志——筛选明细与 key/成员跳转链路

This commit is contained in:
2026-10-09 01:41:45 +08:00
parent 2e91c593ab
commit 008eb14adc
12 changed files with 436 additions and 17 deletions
+3 -1
View File
@@ -85,7 +85,9 @@ export function usePatchKey() {
});
}
export function useAdminLogs(params: () => TimeRange & PageQuery) {
export function useAdminLogs(
params: () => Parameters<typeof fetchLogs>[0],
) {
return useQuery({
queryKey: () => qk.admin.logs(params()),
queryFn: () => fetchLogs(params()),