在BaiduWork类中,增加了ondup参数以解决目录中存在同名文件无法转存的问题。

This commit is contained in:
admin
2025-04-03 13:42:11 +08:00
parent 5a58163bf0
commit 3cbd04bfe0
3 changed files with 50 additions and 43 deletions
+2 -1
View File
@@ -184,7 +184,8 @@ class BaiduWork
'bdstoken' => $this->bdstoken,
'channel' => 'chunlei',
'web' => '1',
'clienttype' => '0'
'clienttype' => '0',
'ondup' => 'newcopy' //目录中存在同名文件无法转存的问题
];
$data = [
'fsidlist' => '[' . implode(',', $paramsList[2]) . ']',