feat(auth): 新增微信聚合登录入口与账号绑定卡\n\n- OAuthButtons.vue: aggregate 启用时渲染微信登录按钮,微信绿 hover + 专属 SVG 图标\n- OAuthBindingCard.vue: 新增微信 aggregate 绑定卡,支持绑定跳转 /api/auth/aggregate 和解绑\n- account/index.vue: hasOAuthProviders 判定加入 aggregate\n- oauth.ts: getProviderDisplayName 中 aggregate 映射为 微信
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m8s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Successful in 10m3s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Successful in 6s

This commit is contained in:
2026-09-12 21:06:26 +08:00
parent a937f32e6e
commit 467dd38d5f
4 changed files with 49 additions and 8 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ export const getProviderDisplayName = (provider: string): string => {
const map: Record<string, string> = {
github: 'GitHub',
casdoor: 'Casdoor',
google: 'Google'
google: 'Google',
aggregate: '微信'
}
return map[provider.toLowerCase()] || provider.charAt(0).toUpperCase() + provider.slice(1)
}