作者 lyh

GX生成白帽报表脚本

@@ -39,7 +39,6 @@ class UpdateProjectTdk extends Command @@ -39,7 +39,6 @@ class UpdateProjectTdk extends Command
39 sleep(30); 39 sleep(30);
40 continue; 40 continue;
41 } 41 }
42 - dd($task_id);  
43 $info = $noticeLogModel->read(['id'=>$task_id]); 42 $info = $noticeLogModel->read(['id'=>$task_id]);
44 if($info === false){ 43 if($info === false){
45 $project_id = $info['data']['project_id'] ?? 0; 44 $project_id = $info['data']['project_id'] ?? 0;
@@ -58,7 +57,7 @@ class UpdateProjectTdk extends Command @@ -58,7 +57,7 @@ class UpdateProjectTdk extends Command
58 if (!file_exists($url)) { 57 if (!file_exists($url)) {
59 return '文件不存在'; 58 return '文件不存在';
60 } 59 }
61 - 60 + dd($url);
62 // 载入 Excel 61 // 载入 Excel
63 $spreadsheet = IOFactory::load($url); 62 $spreadsheet = IOFactory::load($url);
64 $sheet = $spreadsheet->getActiveSheet(); 63 $sheet = $spreadsheet->getActiveSheet();