科目加年份筛选试卷总数

This commit is contained in:
堂吉诃德拉曼查的英豪
2026-09-04 11:25:31 +08:00
parent a8d5109a0a
commit 9ae3b1f4b6

View File

@@ -39,7 +39,8 @@ interface CampusRelationInterface
* App 平台方法:按招考类型获取首页科目列表,并统计模拟/真题套卷总套数。
* @param int $examTypeId 招考类型ID
* @param int $regionId 招考地区ID,0=全部
* @param int $year 试卷年份,0=不限年份
* @return array 科目列表,每项附加 mock_total(模拟套数)、zhenti_total(真题套数)、total(总套数)
*/
public function appGetSubjectsByExamType(int $examTypeId, int $regionId = 0): array;
public function appGetSubjectsByExamType(int $examTypeId, int $regionId = 0, int $year = 0): array;
}