Data/Exam 契约补充 App 招考地区级联平台方法
This commit is contained in:
@@ -11,8 +11,27 @@ interface CampusRelationInterface
|
||||
*/
|
||||
public function getCampusRelationData(int $campusId = 1, int $examTypeId = 1, int $subjectId = 1, int $userId = 0): array;
|
||||
|
||||
/**
|
||||
* App 平台方法:首页级联数据(地区/招考类型/科目/题型分类)。
|
||||
* @param int $regionId 招考地区ID,0=全部
|
||||
* @param int $examTypeId 招考类型ID,0=不限制
|
||||
* @param int $subjectId 考试科目ID,0=不限制
|
||||
* @param int $userId 用户ID,0=未登录
|
||||
* @return array
|
||||
*/
|
||||
public function appGetCampusRelationData(int $regionId = 0, int $examTypeId = 0, int $subjectId = 0, int $userId = 0): array;
|
||||
|
||||
/**
|
||||
* 按条件获取题型分类树.
|
||||
*/
|
||||
public function getCategoriesByConditions(int $campusId, int $examTypeId, int $subjectId): array;
|
||||
|
||||
/**
|
||||
* App 平台方法:指定地区+招考类型+科目下的题型分类树。
|
||||
* @param int $regionId 招考地区ID,0=全部
|
||||
* @param int $examTypeId 招考类型ID
|
||||
* @param int $subjectId 考试科目ID
|
||||
* @return array
|
||||
*/
|
||||
public function appGetCategoriesByRegionExamTypeSubject(int $regionId, int $examTypeId, int $subjectId): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user