...
|
...
|
@@ -54,9 +54,9 @@ class Qiniu |
|
|
$url = $fileType == 'image' ? $this->getImageUrl($file, $watermark) : $this->getFileDownloadUrl($file);
|
|
|
|
|
|
$sys = $this->getOperateSys();
|
|
|
|
|
|
|
|
|
if($sys == 'Linux'){
|
|
|
$file = ROOT_PATH.'public/upload/'.$file;
|
|
|
$file = ROOT_PATH.'/public/upload/'.$file;
|
|
|
unlink($file);//适用于linux
|
|
|
}
|
|
|
return [
|
...
|
...
|
|