can not copy file by rapid_upload, so return 415

pull/525/head
qkqpttgf 2022-01-18 13:08:48 +08:00 committed by GitHub
parent 08c12518a7
commit c5e7cabe09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ class Aliyundrive {
return output(json_encode($this->files_format(json_decode($result['body'], true))), $result['stat']); return output(json_encode($this->files_format(json_decode($result['body'], true))), $result['stat']);
} }
public function Copy($file) { public function Copy($file) {
return output('NO copy', 415);
if (!$file['id']) { if (!$file['id']) {
$oldfile = $this->list_path($file['path'] . '/' . $file['name']); $oldfile = $this->list_path($file['path'] . '/' . $file['name']);
//error_log1('res:' . json_encode($res)); //error_log1('res:' . json_encode($res));