feat(mobile-next): 建立 v2 Token 唯一入口、内网地址与功能开关

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
编码工程师
2026-08-20 02:30:09 +08:00
co-authored by Cursor multica-agent
parent 45d91684bc
commit d787c0a477
11 changed files with 384 additions and 81 deletions
@@ -0,0 +1,19 @@
/// 公司功能开关。关闭项直接不展示入口,不扩范围外功能。
class FeatureFlags {
FeatureFlags._();
/// 只用工号+密码,关闭官方手机号/邮箱/验证码登录。
static const bool staffLoginOnly = true;
/// 关闭官方注册、找回密码。
static const bool hideRegisterAndReset = true;
/// 关闭发现页 / 工作台 Tab。
static const bool hideDiscover = true;
/// 品牌迁移未取得 AGPL 书面结论前保持 false:保留 OpenIM 标识。
static const bool brandMigration = false;
/// 安卓语音通话另阶段迁移;本阶段不接入 LiveKit。
static const bool livekitCall = false;
}