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