feat: 服务地址动态获取

This commit is contained in:
duanshuwen
2025-11-13 21:22:37 +08:00
parent 1028e20d42
commit 47d1c5ab6f
5 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ import rawConfigs from '../../client-configs.json' with { type: 'json' };
export const CLIENT_CONFIGS = rawConfigs;
// 获取当前用户端配置
export const getCurrentConfig = () => CLIENT_CONFIGS.duohua;
export const getCurrentConfig = () => CLIENT_CONFIGS.zhinian;
export const clientId = getCurrentConfig().clientId;
export const appId = getCurrentConfig().appId;