diff --git a/src/ExamService/JsonRpcInterface/CampusRelationInterface.php b/src/ExamService/JsonRpcInterface/CampusRelationInterface.php index 3647703..d2415dc 100644 --- a/src/ExamService/JsonRpcInterface/CampusRelationInterface.php +++ b/src/ExamService/JsonRpcInterface/CampusRelationInterface.php @@ -27,13 +27,13 @@ interface CampusRelationInterface public function getCategoriesByConditions(int $campusId, int $examTypeId, int $subjectId): array; /** - * App 平台方法:指定地区+招考类型+科目下的题型分类树。 + * App 平台方法:指定地区+招考类型下的题型分类树,可选按科目过滤。 * @param int $regionId 招考地区ID,0=全部 * @param int $examTypeId 招考类型ID - * @param int $subjectId 考试科目ID + * @param int $subjectId 考试科目ID,0=不限科目 * @return array */ - public function appGetCategoriesByRegionExamTypeSubject(int $regionId, int $examTypeId, int $subjectId): array; + public function appGetCategoriesByRegionExamTypeSubject(int $regionId, int $examTypeId, int $subjectId = 0): array; /** * App 平台方法:按招考类型获取首页科目列表,并统计模拟/真题套卷总套数。