作者 lyh

Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -48,11 +48,11 @@ class ProjectFilePDF extends Command @@ -48,11 +48,11 @@ class ProjectFilePDF extends Command
48 48
49 public function handle() 49 public function handle()
50 { 50 {
  51 +
51 // 开始时间 52 // 开始时间
52 $startTime = microtime(true); 53 $startTime = microtime(true);
53 - $html = $this->html([]);  
54 - $filename = hash('md5', $this->time . '-' . random_int(100000, 999999));  
55 - $this->savePDF($html, $filename); 54 +
  55 + $gg = $this->main();
56 56
57 // 结束时间 57 // 结束时间
58 $endTime = microtime(true); 58 $endTime = microtime(true);
@@ -62,7 +62,9 @@ class ProjectFilePDF extends Command @@ -62,7 +62,9 @@ class ProjectFilePDF extends Command
62 62
63 // 输出执行时间 63 // 输出执行时间
64 var_dump("程序执行时间: " . $executionTime . " 秒"); 64 var_dump("程序执行时间: " . $executionTime . " 秒");
65 -// return $this->main(); 65 +
  66 + return $gg;
  67 +
66 } 68 }
67 69
68 /** 70 /**