新增游客模式

This commit is contained in:
2025-10-17 15:28:40 +08:00
parent f5bc239b6a
commit 2333ad52a9
15 changed files with 1434 additions and 53 deletions
+11 -1
View File
@@ -1022,6 +1022,16 @@ class KRDomain {
}
class AppConfig {
/// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/// 加密密钥配置
/// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/// 统一加密密钥(用于所有API接口和设备登录)
/// 密钥来源:OmnOem 项目 ppanel.json 配置
static const String kr_encryptionKey = 'c0qhq99a-nq8h-ropg-wrlc-ezj4dlkxqpzx';
/// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/// 请求域名地址
/// 基础url
// static String baseUrl = "http://103.112.98.72:8088";
@@ -1029,7 +1039,7 @@ class AppConfig {
/// 请求域名地址
String get baseUrl {
if (kDebugMode) {
return "http://192.168.0.113";
return "http://192.168.0.113:8082";
}
return "${KRProtocol.kr_https}://${KRDomain.kr_api}";
}