作者 lyh

gxx

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