|
...
|
...
|
@@ -48,11 +48,11 @@ class ProjectFilePDF extends Command |
|
|
|
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
|
|
|
|
// 开始时间
|
|
|
|
$startTime = microtime(true);
|
|
|
|
$html = $this->html([]);
|
|
|
|
$filename = hash('md5', $this->time . '-' . random_int(100000, 999999));
|
|
|
|
$this->savePDF($html, $filename);
|
|
|
|
|
|
|
|
$gg = $this->main();
|
|
|
|
|
|
|
|
// 结束时间
|
|
|
|
$endTime = microtime(true);
|
|
...
|
...
|
@@ -62,7 +62,9 @@ class ProjectFilePDF extends Command |
|
|
|
|
|
|
|
// 输出执行时间
|
|
|
|
var_dump("程序执行时间: " . $executionTime . " 秒");
|
|
|
|
// return $this->main();
|
|
|
|
|
|
|
|
return $gg;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|