|
...
|
...
|
@@ -83,7 +83,6 @@ class FileController |
|
|
|
header('Status: 206 Partial Content');
|
|
|
|
header('Accept-Ranges: bytes');
|
|
|
|
header('Content-Range: bytes ' . $start . '-' . $end . '/' . $size);
|
|
|
|
|
|
|
|
// 读取部分内容并发送响应
|
|
|
|
$file = fopen($path, 'rb');
|
|
|
|
fseek($file, $start);
|
...
|
...
|
|