From 3ab189848de86ece8f64cb82171955c900844441 Mon Sep 17 00:00:00 2001 From: lik Date: Tue, 10 Nov 2026 16:34:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8E=E5=AD=90=E6=A8=A1=E5=9D=97=EF=BC=88?= =?UTF-8?q?appId=20=E6=9B=B4=E5=90=8D=E3=80=81=E9=99=AA=E8=AF=8A=E5=B8=88?= =?UTF-8?q?=E5=85=A5=E9=A9=BB=E4=B8=8E=E5=90=8C=E5=9F=8E=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 权限口径文档中的 appId 改为 wxapp_companion;同步 api/user、api/health、ui/wxapp_companion、ui/web_escort_admin 子模块指针。 --- api/health | 2 +- api/user | 2 +- doc/architecture-overview.html | 4 ++-- ui/web_escort_admin | 2 +- ui/wxapp_companion | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/health b/api/health index 3086a40..cd3b109 160000 --- a/api/health +++ b/api/health @@ -1 +1 @@ -Subproject commit 3086a40b4c35871abead8b810093cd4a9c23ea0a +Subproject commit cd3b1097303999704f86d1b136fbab14003efb11 diff --git a/api/user b/api/user index 5fabb6b..efd4e44 160000 --- a/api/user +++ b/api/user @@ -1 +1 @@ -Subproject commit 5fabb6ba864cb98fb2f04f487fefcaa5228b9a58 +Subproject commit efd4e4444cf7975495f6d1125cab866f79ba6729 diff --git a/doc/architecture-overview.html b/doc/architecture-overview.html index 1a932a0..a03183d 100644 --- a/doc/architecture-overview.html +++ b/doc/architecture-overview.html @@ -835,7 +835,7 @@ 管理员 - userInfo 返回的 apps 中存在 wxapp-escort-admin 或 web-escort-admin,roles 含 admin 且未停用;过渡期兼容旧 app 字段 + userInfo 返回的 apps 中存在 wxapp_companion 或 web-escort-admin,roles 含 admin 且未停用;过渡期兼容旧 app 字段 全量订单、档案、医院写接口、培训报名、陪诊师管理、退款查单、删除订单 @@ -864,7 +864,7 @@
  • employee.userId 建 partial unique 索引(仅约束 ObjectId 类型),一人最多一条员工档案;换微信号走人工改绑,不自动合并。
  • employee.userIdSource 记录绑定来源:manual / application,可追溯。
  • employeeNo 为 unique + sparse,不能设默认空串;建档路径显式生成 ATT{yyyyMMdd}{4位随机},撞号换号重试。
  • -
  • 三层身份各司其职:user.apps 中有 wxapp-escort-admin 只代表“进过陪诊师端”;attendant_application 代表“申请过程”;employee(attendant + active)才代表权限。
  • +
  • 三层身份各司其职:user.apps 中有 wxapp_companion 只代表“进过陪诊师端”;attendant_application 代表“申请过程”;employee(attendant + active)才代表权限。
  • diff --git a/ui/web_escort_admin b/ui/web_escort_admin index 71cdbc5..4936167 160000 --- a/ui/web_escort_admin +++ b/ui/web_escort_admin @@ -1 +1 @@ -Subproject commit 71cdbc57a19232f9cdf8952af5dd291a56600989 +Subproject commit 4936167f641ce22b05ee5de1001a38f0bba6218b diff --git a/ui/wxapp_companion b/ui/wxapp_companion index 5848d18..ff1b166 160000 --- a/ui/wxapp_companion +++ b/ui/wxapp_companion @@ -1 +1 @@ -Subproject commit 5848d181a6ae9391361b69f0c24357064e9a896d +Subproject commit ff1b1664fab45ef204666f82c6bfe14c5eede019