diff --git a/src/ExamService/SmartPaperInterface.php b/src/ExamService/SmartPaperInterface.php index 49ea8a7..0ab76ae 100644 --- a/src/ExamService/SmartPaperInterface.php +++ b/src/ExamService/SmartPaperInterface.php @@ -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 声明,避免聚合接口代理重复声明 /** * 获取用户试卷历史列表 diff --git a/src/UserService/JsonRpcInterface/user/LoginServiceInterface.php b/src/UserService/JsonRpcInterface/user/LoginServiceInterface.php index 8396c91..f88110c 100755 --- a/src/UserService/JsonRpcInterface/user/LoginServiceInterface.php +++ b/src/UserService/JsonRpcInterface/user/LoginServiceInterface.php @@ -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 diff --git a/src/UserService/JsonRpcInterface/user/UserCurriculumVitaeInterface.php b/src/UserService/JsonRpcInterface/user/UserCurriculumVitaeInterface.php index 59dc7cb..695265f 100644 --- a/src/UserService/JsonRpcInterface/user/UserCurriculumVitaeInterface.php +++ b/src/UserService/JsonRpcInterface/user/UserCurriculumVitaeInterface.php @@ -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; }