二次开发源码提交

This commit is contained in:
2026-05-15 08:52:48 +08:00
parent 4131f7321a
commit eb35a1d067
191 changed files with 34566 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
/// API配置
class ApiConfig {
static const int connectTimeout = 5;
static const int receiveTimeout = 60;
static const int sendTimeout = 60;
/// API基础URL
static const String defaultBaseUrl = 'https://pan.gongyun.org/api/v4';
/// 获取API基础URL
static Future<String> get baseUrl async {
return defaultBaseUrl;
}
}
+26
View File
@@ -0,0 +1,26 @@
/// 应用配置
class AppConfig {
/// 应用名称
static const String appName = '公云存储';
/// 应用版本
static const String version = '1.0.0';
/// 构建号
static const int buildNumber = 1;
/// 是否为调试模式
static const bool debugMode = bool.fromEnvironment('dart.vm.product');
/// 默认分页大小
static const int defaultPageSize = 50;
/// 最大分页大小
static const int maxPageSize = 200;
/// 上传并发数
static const int uploadConcurrency = 3;
/// 下载并发数
static const int downloadConcurrency = 3;
}