mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-07 05:38:15 +00:00
composer require phpoffice/phpexcel
This commit is contained in:
parent
6e7ffc8a36
commit
df2a84a67b
@ -62,7 +62,7 @@ class PHPExcelService
|
||||
*/
|
||||
private static function initialize($data,$fun){
|
||||
// vendor("PHPExcel.PHPExcel.PHPExcel");
|
||||
// self::$PHPExcel= new \PHPExcel();
|
||||
self::$PHPExcel= new \PHPExcel();
|
||||
if($fun!==null && is_callable($fun)){
|
||||
self::$styleArray=$fun();
|
||||
}
|
||||
@ -177,6 +177,7 @@ class PHPExcelService
|
||||
self::$title=$title;
|
||||
if(empty($Name)) $Name=time();
|
||||
//设置Excel属性
|
||||
self::$PHPExcel = new \PHPExcel();
|
||||
self::$PHPExcel ->getProperties()
|
||||
->setCreator("Neo")
|
||||
->setLastModifiedBy("Neo")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user