diff --git a/src/ExamService/JsonRpcInterface/ExamServiceInterface.php b/src/ExamService/JsonRpcInterface/ExamServiceInterface.php index 575e216..f72e23e 100644 --- a/src/ExamService/JsonRpcInterface/ExamServiceInterface.php +++ b/src/ExamService/JsonRpcInterface/ExamServiceInterface.php @@ -99,6 +99,14 @@ interface ExamServiceInterface */ public function submitWrongPractice(int $userId, array $params): array; + /** + * 获取用户薄弱项(有错题且正确率低于阈值且正确率最低的模块;无则 null). + * + * 用于首页弹窗「薄弱项:{模块名}正确率低 → 攻克它 → 专项刷题」, + * 以及错题记录页面薄弱项展示;与错题记录首页统计字段 weak_category 同口径. + */ + public function appGetWeakPoint(int $userId): ?array; + /** * 获取考试类型列表(V1 兼容接口). */