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,