This commit is contained in:
小松树 committed 2019-05-15 15:54:18 +08:00
1 parent 425406572f
commit 017428cf57
3 files changed
+2 -1

No files matched your search

@@ -434,7 +434,7 @@ class JsRongyuInfo extends Base
}
//通过工厂模式创建内容
$spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load('jsRongyu.xlsx');
$spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load("uploads/rongyu_teacher/js_rongyu.xlsx");
$worksheet = $spreadsheet->getActiveSheet();
$worksheet->getCell('A1')->setValue($filename);
Binary file not shown.
+1
View File
@@ -6,5 +6,6 @@
/rongyu_school/*
/rongyu_teacher/*
!/rongyu_teacher/404.png
!/rongyu_teacher/jsRongyu.xlsx
/keti/*
/chengji/*