题型分类接口 subjectId 支持缺省,不传时返回不限科目的分类树
This commit is contained in:
@@ -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 平台方法:按招考类型获取首页科目列表,并统计模拟/真题套卷总套数。
|
||||
|
||||
Reference in New Issue
Block a user