refactor: 优化网盘类型判断逻辑并修复模板语法

- 在 `Transfer.php` 中添加 `fast.uc.cn` 域名支持
- 将 `3.php` 中的 `<?` 短标签替换为 `<?php` 以提高兼容性
- 重构 `determineIsType` 函数,使用数组映射简化网盘类型判断逻辑
This commit is contained in:
admin
2025-04-01 10:31:27 +08:00
parent d214fbad99
commit 1550eed2c5
3 changed files with 19 additions and 15 deletions
+1
View File
@@ -64,6 +64,7 @@ class Transfer
'www.aliyundrive.com' => 1,
'pan.baidu.com' => 2,
'drive.uc.cn' => 3,
'fast.uc.cn' => 3,
// 'pan.xunlei.com' => 4,
];