|
|
@@ -161,7 +161,7 @@ class CsController extends PublicController
|
|
|
{
|
|
|
$filePath = './priceTable/12715/09-22.xls';
|
|
|
$file=fopen($filePath,"r");
|
|
|
- header("Content-Type: application/octet-stream");
|
|
|
+ header("Content-Type: application/vnd.ms-excel");
|
|
|
header("Accept-Ranges: bytes");
|
|
|
header("Accept-Length: ".filesize($filePath));
|
|
|
header("Content-Disposition: attachment; filename=2.xls");
|