API-ADMIN-INFO-012 P0 | 异常数据查询接口 【status:blocked】 #150

Closed
opened 2026-06-07 12:33:25 +08:00 by wangdl · 3 comments
Owner

GET /admin/learning/anomalies?anomalyType=duplicate_event|active_seconds_capped|timestamp_skewed|sequence_out_of_order|missing_material_closed|active_session_timeout|invalid_position|material_not_found|source_deleted_still_reporting。分页+导出参数。返回关联event/session/progress。

M-API-ADMIN-INFO 里程碑 issue。依赖 M-API-INFO 核心数据表和服务。对应 ADMIN-INFO-xxx。

## GET /admin/learning/anomalies?anomalyType=duplicate_event|active_seconds_capped|timestamp_skewed|sequence_out_of_order|missing_material_closed|active_session_timeout|invalid_position|material_not_found|source_deleted_still_reporting。分页+导出参数。返回关联event/session/progress。 M-API-ADMIN-INFO 里程碑 issue。依赖 M-API-INFO 核心数据表和服务。对应 ADMIN-INFO-xxx。
wangdl added this to the M-API-ADMIN-INFO:学习信息管理后台接口 milestone 2026-06-07 12:33:25 +08:00
wangdl changed title from API-ADMIN-INFO-012 P0 | 异常数据查询接口 to API-ADMIN-INFO-012 P0 | 异常数据查询接口 【status:todo】 2026-06-07 19:07:55 +08:00
Author
Owner

审查结论:admin 基础设施齐全(AdminAuthGuard、AdminRolesGuard、分页模式、audit log、15个已有admin模块可参考)。AdminLearningController 已有3个基础端点(GET sessions/analysis/ai-usage)。其余 ReadingEvent/Progress/DailyActivity/Record/timeline/diagnostics/reprocess/recalculate/export/config 均不存在。核心阻塞于 M-API-INFO schema 未建。

本 Issue: 接口不存在。依赖 ReadingEvent 表。blocked-by:schema

标签: audit:reviewed audit:api-info status:todo work:api

## 审查结论:admin 基础设施齐全(AdminAuthGuard、AdminRolesGuard、分页模式、audit log、15个已有admin模块可参考)。AdminLearningController 已有3个基础端点(GET sessions/analysis/ai-usage)。其余 ReadingEvent/Progress/DailyActivity/Record/timeline/diagnostics/reprocess/recalculate/export/config 均不存在。核心阻塞于 M-API-INFO schema 未建。 **本 Issue**: 接口不存在。依赖 ReadingEvent 表。blocked-by:schema **标签**: audit:reviewed audit:api-info status:todo work:api
wangdl changed title from API-ADMIN-INFO-012 P0 | 异常数据查询接口 【status:todo】 to API-ADMIN-INFO-012 P0 | 异常数据查询接口 【status:blocked】 2026-06-07 19:11:46 +08:00
Author
Owner

审查结论:当前 admin 基础设施齐全(AdminAuthGuard/AdminRolesGuard/分页/audit log/15个admin模块)。AdminLearningController 已有3个基础端点。但学习信息后台接口主要依赖 M-API-INFO 核心数据表与聚合服务。允许先做 DTO/Controller路由/权限装饰器/文档草案,但不得用 mock 数据作为最终验收。

本 Issue: 异常字段不存在。

状态: status:blocked
工作类型: work:query
阻塞: blocked-by:api-info-schema
标签: audit:reviewed audit:api-admin-info area:admin-api status:blocked work:query blocked-by:api-info-schema

## 审查结论:当前 admin 基础设施齐全(AdminAuthGuard/AdminRolesGuard/分页/audit log/15个admin模块)。AdminLearningController 已有3个基础端点。但学习信息后台接口主要依赖 M-API-INFO 核心数据表与聚合服务。允许先做 DTO/Controller路由/权限装饰器/文档草案,但不得用 mock 数据作为最终验收。 **本 Issue**: 异常字段不存在。 **状态**: status:blocked **工作类型**: work:query **阻塞**: blocked-by:api-info-schema **标签**: audit:reviewed audit:api-admin-info area:admin-api status:blocked work:query blocked-by:api-info-schema
Author
Owner

完成

Admin 端点已实现。详见 admin-reading.controller.ts

## 完成 Admin 端点已实现。详见 `admin-reading.controller.ts`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangdl/api-server#150
No description provided.