refactor(app): appId wxapp-escort-admin 更名为 wxapp_companion

与陪诊师小程序工程名对齐;同步注册表、配置白名单、脚本示例与测试。数据库 user_app / user_identity / user.app 旧字段已同步迁移。
This commit is contained in:
lik
2026-11-10 16:33:35 +08:00
parent 5fabb6ba86
commit efd4e4444c
9 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ async function main() {
user.meta = { ...(user.meta || {}), updatetime: Date.now() };
}
// 只授予 Web 后台这一个应用的 admin,不动小程序端(wxapp-escort-admin)的身份
// 只授予 Web 后台这一个应用的 admin,不动小程序端(wxapp_companion)的身份
user.app = user.app || {};
user.app[WEB_ADMIN_APP] = {
...(user.app[WEB_ADMIN_APP] || {}),