在BaiduWork类中,增加了ondup参数以解决目录中存在同名文件无法转存的问题。
This commit is contained in:
@@ -241,6 +241,9 @@ class BaiduPan extends BasePan
|
||||
$cookie = Config('qfshop.baidu_cookie');
|
||||
$network = new \netdisk\pan\BaiduWork($cookie);
|
||||
|
||||
$bdstoken = $network->getBdstoken();
|
||||
$network->setBdstoken($bdstoken);
|
||||
|
||||
// 调用批量删除方法
|
||||
$result = $network->batchDeleteFiles($filePaths);
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user