|
@@ -353,7 +353,7 @@ class Api extends BaseController {
|
|
|
$url = $fileinfo["templateUrl"];
|
|
|
break;
|
|
|
}
|
|
|
- $filepath = "storage/" . $fileinfo["url"]; // 下载文件名
|
|
|
+ $filepath = "storage/" . $url; // 下载文件名
|
|
|
if (!file_exists($filepath)) {
|
|
|
header('HTTP/1.1 404 NOT FOUND');
|
|
|
} else {
|