薄弱项接口

This commit is contained in:
堂吉诃德拉曼查的英豪
2026-08-31 16:42:39 +08:00
parent 885316c990
commit bfe41c4b99

View File

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