diff --git a/extend/base/Excel.php b/extend/base/Excel.php index e096a5bd30363a1321d5ed967bd9b3c33c48c7fb..9703caf325a83ef5b17bea4a2c4d338904a9395f 100755 --- a/extend/base/Excel.php +++ b/extend/base/Excel.php @@ -81,7 +81,7 @@ class Excel $this->warap_text = isset($params['warap_text']) ? intval($params['warap_text']) : 1; // excel写入类型 - $this->writer_type = empty($params['writer_type']) ? 'Excel2007' : trim($params['writer_type']); + $this->writer_type = empty($params['writer_type']) ? 'Excel5' : trim($params['writer_type']); // 引入PHPExcel类库 require ROOT.'extend'.DS.'phpexcel'.DS.'PHPExcel.php';