feat: 集成华为快应用帐号登录

This commit is contained in:
2026-05-08 15:49:29 +08:00
parent 2342a14f2e
commit 1cfd2db49e
7 changed files with 625 additions and 2 deletions

View File

@@ -120,5 +120,16 @@ export default {
pingInterval: 1500,
// 版本号
version: '1.0'
version: '1.0',
// 华为快应用 HwService 配置
// 需在 AppGallery Connect 创建应用后获取
huawei: {
// AGC 应用配置(替换为实际的 AGC 配置值)
appId: '', // 应用ID
clientId: '', // 客户端ID
clientSecret: '', // 客户端密钥(注意安全,建议由后端下发)
// 华为帐号登录回调地址
redirectUri: window.location.origin + '/hwappx/common/',
}
};