移除考试类型与科目增删改旧契约,避免与DataServiceInterface冲突
This commit is contained in:
@@ -36,28 +36,6 @@ interface ExamServiceInterface extends GufenPaperInterface
|
||||
*/
|
||||
public function getExamTypeDetail(int $id): array;
|
||||
|
||||
/**
|
||||
* 创建考试类型.
|
||||
* @param array $params
|
||||
* @return bool 创建结果
|
||||
*/
|
||||
public function createExamType(array $params): bool;
|
||||
|
||||
/**
|
||||
* 更新考试类型.
|
||||
* @param int $id 考试类型ID
|
||||
* @param array $params
|
||||
* @return bool 更新结果
|
||||
*/
|
||||
public function updateExamType(int $id, array $params): bool;
|
||||
|
||||
/**
|
||||
* 删除考试类型.
|
||||
* @param int $id 考试类型ID
|
||||
* @return bool 删除结果
|
||||
*/
|
||||
public function deleteExamType(int $id): bool;
|
||||
|
||||
// 题目素材相关
|
||||
|
||||
/**
|
||||
@@ -257,27 +235,6 @@ interface ExamServiceInterface extends GufenPaperInterface
|
||||
*/
|
||||
public function getSubjectDetail(int $id): array;
|
||||
|
||||
/**
|
||||
* 创建科目.
|
||||
* @param array $params
|
||||
* @return bool 创建结果
|
||||
*/
|
||||
public function createSubject(array $params): bool;
|
||||
|
||||
/**
|
||||
* 更新科目.
|
||||
* @param int $id 科目ID
|
||||
* @return bool 更新结果
|
||||
*/
|
||||
public function updateSubject(int $id, array $params): bool;
|
||||
|
||||
/**
|
||||
* 删除科目.
|
||||
* @param int $id 科目ID
|
||||
* @return bool 删除结果
|
||||
*/
|
||||
public function deleteSubject(int $id): bool;
|
||||
|
||||
// 用户试卷记录相关
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user