rm not use code

pull/240/head
qkqpttgf 2021-03-07 22:31:58 +08:00 committed by GitHub
parent 4e008e0b2f
commit 77198ddf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -530,16 +530,7 @@ class Aliyundrive {
if ($tmp1[0]==''||$tmp1[1]=='') $filename = $_POST['filesha1']; if ($tmp1[0]==''||$tmp1[1]=='') $filename = $_POST['filesha1'];
else $filename = $_POST['filesha1'] . '.' . $tmp1[1]; else $filename = $_POST['filesha1'] . '.' . $tmp1[1];
} }
/*if ($fileinfo['size']>10*1024*1024) {
$cachefilename = spurlencode( $fileinfo['path'] . '/.' . $fileinfo['filelastModified'] . '_' . $fileinfo['size'] . '_' . $fileinfo['name'] . '.tmp', '/');
$getoldupinfo=$this->list_path(path_format($path . '/' . $cachefilename));
//echo json_encode($getoldupinfo, JSON_PRETTY_PRINT);
if ($getoldupinfo['type']=='file'&&$getoldupinfo['size']<5120) {
$getoldupinfo_j = curl('GET', $getoldupinfo['url']);
$getoldupinfo = json_decode($getoldupinfo_j['body'], true);
//if ( json_decode( curl('GET', $getoldupinfo['uploadUrl'])['body'], true)['@odata.context']!='' ) return output($getoldupinfo_j['body'], $getoldupinfo_j['stat']);
}
}*/
$parent = $this->list_path($path . '/' . $fileinfo['path']); $parent = $this->list_path($path . '/' . $fileinfo['path']);
if (isset($parent['file_id'])) { if (isset($parent['file_id'])) {
$parent_file_id = $parent['file_id']; $parent_file_id = $parent['file_id'];