ops-console v1.0.2 (versionCode 8) 源码入库
This commit is contained in:
16
lib/config/test_config.dart
Normal file
16
lib/config/test_config.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
/// 测试环境专属配置。
|
||||
///
|
||||
/// 与 [StagingConfig] 完全隔离,**禁止交叉引用生产环境**的任何常量或文件。
|
||||
/// 测试环境的服务地址、密钥、数据库连接等敏感配置统一在此独立管理。
|
||||
class TestConfig {
|
||||
TestConfig._();
|
||||
|
||||
/// 测试环境后端 origin。
|
||||
static const String apiBaseUrl = 'https://ips-test.ainetv.com';
|
||||
|
||||
/// 测试环境是否启用登录验证码(该环境开放 `/api/captcha.jpg`)。
|
||||
static const bool enableCaptcha = true;
|
||||
|
||||
// 测试环境密钥 / 数据库连接等敏感配置在此独立维护,
|
||||
// 不得出现任何生产环境标识或引用。
|
||||
}
|
||||
Reference in New Issue
Block a user