DataService契约按实际提供方修正,拆分Course/Exam服务契约并补消费者配置
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dhd\Micro\Interface\DataService\Course;
|
||||
namespace Dhd\Micro\Interface\CourseService;
|
||||
|
||||
/**
|
||||
* 课程服务接口
|
||||
@@ -6,9 +6,6 @@
|
||||
|
||||
namespace Dhd\Micro\Interface\DataService;
|
||||
|
||||
use Dhd\Micro\Interface\DataService\Course\CourseServiceInterface;
|
||||
use Dhd\Micro\Interface\DataService\Exam\ExamServiceInterface;
|
||||
|
||||
interface DataService extends
|
||||
DataServiceInterface,
|
||||
AgreementInterface,
|
||||
@@ -24,6 +21,4 @@ interface DataService extends
|
||||
ExcelHeaderFieldsInterface,
|
||||
DictionaryInterface,
|
||||
MajorsInterface,
|
||||
GuideNavInterface,
|
||||
CourseServiceInterface,
|
||||
ExamServiceInterface {}
|
||||
GuideNavInterface {}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Dhd\Micro\Interface\DataService\Exam;
|
||||
namespace Dhd\Micro\Interface\ExamService;
|
||||
|
||||
interface ExamServiceInterface extends GufenPaperInterface
|
||||
{
|
||||
@@ -334,7 +334,6 @@ interface ExamServiceInterface extends GufenPaperInterface
|
||||
|
||||
// 试卷相关
|
||||
|
||||
// 试卷相关
|
||||
/**
|
||||
* 创建试卷.
|
||||
* @param array $params
|
||||
@@ -489,7 +488,6 @@ interface ExamServiceInterface extends GufenPaperInterface
|
||||
*/
|
||||
public function getErrorStats(int $userId, int $questionId): array;
|
||||
|
||||
|
||||
/**
|
||||
* 保存用户答题记录.
|
||||
* @param array $params
|
||||
@@ -518,7 +516,6 @@ interface ExamServiceInterface extends GufenPaperInterface
|
||||
*/
|
||||
public function batchUpdateScores(array $params): bool;
|
||||
|
||||
|
||||
public function getCategoryList(array $params): array;
|
||||
|
||||
public function getSubQuestionCategoryList(array $data): array;
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Dhd\Micro\Interface\DataService\Exam;
|
||||
namespace Dhd\Micro\Interface\ExamService;
|
||||
|
||||
interface GufenPaperInterface
|
||||
{
|
||||
Reference in New Issue
Block a user