From 9d191c2875a34ff7a01c97f31b042890354a4af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A0=82=E5=90=89=E8=AF=83=E5=BE=B7=E6=8B=89=E6=9B=BC?= =?UTF-8?q?=E6=9F=A5=E7=9A=84=E8=8B=B1=E8=B1=AA?= Date: Wed, 19 Aug 2026 16:25:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=9A=E5=90=88=E6=8E=A5=E5=8F=A3=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ExamService/SmartPaperInterface.php | 15 +-------------- .../user/LoginServiceInterface.php | 7 +++++++ .../user/UserCurriculumVitaeInterface.php | 7 +++++++ 3 files changed, 15 insertions(+), 14 deletions(-) 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; }