refactor: 优化网盘类型判断逻辑并修复模板语法
- 在 `Transfer.php` 中添加 `fast.uc.cn` 域名支持 - 将 `3.php` 中的 `<?` 短标签替换为 `<?php` 以提高兼容性 - 重构 `determineIsType` 函数,使用数组映射简化网盘类型判断逻辑
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user