聚合接口方法
This commit is contained in:
@@ -22,20 +22,7 @@ interface SmartPaperInterface
|
||||
*/
|
||||
public function getUserSmartPaperDetail(int $paperRecordId, bool $getCorrect): array;
|
||||
|
||||
/**
|
||||
* 提交题目答案
|
||||
* @param array $params 参数:paper_record_id, question_id, user_answer, used_time
|
||||
* @param int $userId 用户ID
|
||||
* @return array
|
||||
*/
|
||||
public function submitAnswer(array $params, int $userId): array;
|
||||
|
||||
/**
|
||||
* 提交用户试卷
|
||||
* @param array $params 参数:paper_record_id, used_time
|
||||
* @return array
|
||||
*/
|
||||
public function submitUserPaper(array $params): array;
|
||||
// submitAnswer/submitUserPaper 与 UserPaperInterface 重名,统一由 UserPaperInterface 声明,避免聚合接口代理重复声明
|
||||
|
||||
/**
|
||||
* 获取用户试卷历史列表
|
||||
|
||||
@@ -88,6 +88,13 @@ interface LoginServiceInterface
|
||||
*/
|
||||
public function wxRebind(int $uid, string $code, string $ip): array;
|
||||
|
||||
/**
|
||||
* 获取用户绑定的微信信息
|
||||
* @param int $uid 用户ID
|
||||
* @return array
|
||||
*/
|
||||
public function wxGetBindInfo(int $uid): array;
|
||||
|
||||
/**
|
||||
* 获取官网登录二维码
|
||||
* @return array
|
||||
|
||||
@@ -24,4 +24,11 @@ interface UserCurriculumVitaeInterface
|
||||
* @return void
|
||||
*/
|
||||
public function deleteUserEducation(int $userId, int $educationId): array;
|
||||
/**
|
||||
* 删除用户工作经历
|
||||
* @param int $userId 用户id
|
||||
* @param int $index 工作经历下标(0-based)
|
||||
* @return array
|
||||
*/
|
||||
public function deleteUserWorkExperience(int $userId, int $index): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user