feat(auth): 支持企业微信重置密码

This commit is contained in:
sophie committed 2026-06-15 17:13:48 +08:00
1 parent 9bc4d1dd18
commit 6baeffba64
55 files changed
+2852 -546

No files matched your search

+45 -2
View File
@@ -238,8 +238,50 @@
}
},
"wecom": {
"title": "企业微信绑定管理",
"subtitle": "手动绑定/解绑企业微信账号,并查看登录审计记录",
"title": "企业微信",
"subtitle": "配置企微集成、同步 userid、管理绑定与登录审计",
"nav": {
"settings": "系统配置",
"bindings": "绑定管理",
"audits": "登录审计"
},
"overview": {
"bound": "已绑定 userid",
"unbound": "未绑定",
"boundRate": "绑定率",
"hint": "找回密码",
"hintDesc": "未绑定 wecom_userid 的用户无法接收企微重置链接"
},
"sync": {
"title": "通讯录同步",
"desc": "从企业微信通讯录按工号回填 users.wecom_userid,用于找回密码与通知触达。",
"permissionNote": "需在企微后台为自建应用开通「通讯录读」与「发送应用消息」权限。",
"employeeIdSource": "当前工号来源",
"departmentId": "根部门 ID(可选)",
"departmentIdPlaceholder": "留空表示全部部门",
"preview": "预览同步",
"apply": "确认写入",
"previewDone": "预览完成,请确认结果后再写入",
"previewFailed": "预览同步失败",
"previewFirst": "请先预览同步结果",
"conflictsBlockApply": "存在冲突,请先人工处理后再写入",
"nothingToUpdate": "没有需要更新的绑定",
"applyConfirm": "确认将 {count} 条 userid 绑定写入数据库?",
"applyDone": "已成功更新 {count} 条绑定",
"applyFailed": "写入同步结果失败",
"invalidDepartmentId": "部门 ID 必须为正整数",
"previewTruncated": "仅展示前 20 条,共 {total} 条待更新",
"conflictsTitle": "冲突明细",
"occupiedBy": "userid 已被用户 {user} 占用",
"stats": {
"wecomUsers": "企微成员",
"localMatched": "本地匹配",
"wouldUpdate": "待更新",
"conflicts": "冲突"
}
},
"bindingsHint": "未绑定 wecom_userid 的用户无法使用企微找回密码;可先运行通讯录同步或手动绑定。",
"searchBindings": "搜索用户名、姓名、工号或 wecom_userid",
"systemSettings": "企业微信系统配置",
"integrationCopyTitle": "企微后台复制助手",
"integrationCopyDesc": "以下字段可直接复制到企业微信管理后台对应配置项。",
@@ -324,6 +366,7 @@
},
"headers": {
"user": "用户",
"employeeId": "工号",
"roleStatus": "角色/状态",
"wecomUserId": "WeCom UserId",
"unionId": "UnionId",