未验证 提交 49e602e7 编写于 作者: Q qkqpttgf 提交者: GitHub

set empty pass will delete passfile

上级 96ce1a91
......@@ -222,6 +222,10 @@ class Aliyundrive {
if (isset($existfile['type'])) { // 删掉原文件
$this->Delete(['id'=>$existfile['file_id']]);
}
if ($pass==='') {
// 如果为空,上面已经删除了
return output('Success', 200);
}
if (!$folder['id']) {
$res = $this->list_path($folder['path']);
//error_log1('res:' . json_encode($res));
......@@ -713,4 +717,4 @@ class Aliyundrive {
}
return true;
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册