Explorar el Código

下载文件名字优化

wufeng hace 2 años
padre
commit
befe70ebc1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/command/NowReportHandle.php

+ 1 - 1
app/command/NowReportHandle.php

@@ -55,7 +55,7 @@ class NowReportHandle extends Command
                         throw new Exception('暂不支持这个报表');
                 }
 
-                $file = excelSaveFile($res, $info['name'] . date('YmdHis'));
+                $file = excelSaveFile($res, $info['name'] . $info['start'] . '到' . $info['end']);
 
                 Db::name('exec')
                     ->where(['id' => $info['id'], 'status' => 1])//status==1 待处理