fix 优化排课汇总导出
This commit is contained in:
parent
e747323f26
commit
1ce0da01c6
@ -543,7 +543,11 @@ class TeacherScheduleTimeController extends Crud
|
||||
|
||||
// $writer->save(public_path('/export_file/' . $month . '-' . time() . '.xlsx'));
|
||||
|
||||
$file_name = $month . '-' . time() . '.xlsx';
|
||||
if($is_publish){
|
||||
$file_name = $month . '-publish-' . time() . '.xlsx';
|
||||
}else{
|
||||
$file_name = $month . '-unpublish-' . time() . '.xlsx';
|
||||
}
|
||||
$file_path = '/export_file/';
|
||||
$save_path = public_path($file_path);
|
||||
if (!is_dir($save_path)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user