|
...
|
...
|
@@ -314,7 +314,7 @@ class FileController |
|
|
|
*/
|
|
|
|
public function getDownloadUrl(){
|
|
|
|
$fileModel = new File();
|
|
|
|
$info = $fileModel->read(['path' => $this->param['path']]);
|
|
|
|
$info = $fileModel->read(['path' => str_replace_url($this->param['path'])]);
|
|
|
|
if ($info === false) {
|
|
|
|
$this->response('指定文件不存在!', Code::USER_ERROR);
|
|
|
|
}
|
...
|
...
|
|