From c5b3b867e53258f5613fff0856db98e6cf60087e Mon Sep 17 00:00:00 2001 From: huxuejian Date: Fri, 7 Aug 2026 10:50:31 +0800 Subject: [PATCH] Update index.js --- corp/corp-account/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/corp/corp-account/index.js b/corp/corp-account/index.js index 6009968..642a3e6 100644 --- a/corp/corp-account/index.js +++ b/corp/corp-account/index.js @@ -504,12 +504,14 @@ async function addCorpAccount(ctx) { } else if (account && account.relatedHlwPeople && account.relatedHlwPeople === relatedHlwPeople) { return { success: false, message: "该人员已关联其他账号" }; } + const corpId = data.corpId; if ( typeof relatedHlwPeople === "string" && relatedHlwPeople.trim() !== "" ) { const { success, message, data } = await api.getInternetHospitalApi({ type: "getHlwPersonList", + corpId, page: 1, pageSize: 1, doctorNo: relatedHlwPeople,