作者 lyh

gx脚本

@@ -307,9 +307,11 @@ class DownloadProject extends Command @@ -307,9 +307,11 @@ class DownloadProject extends Command
307 $content4 .= '聚合页小语种站页面'.$data['aggregation_minor_update_num'].'次。'; 307 $content4 .= '聚合页小语种站页面'.$data['aggregation_minor_update_num'].'次。';
308 } 308 }
309 if(!empty($content4)){ 309 if(!empty($content4)){
310 - $content = '本周主要优化工作包括:TDK、H标签、Img标签等优化设置排查与进一步完善,Sitemap更新与网页收录提交,外链新增与排查。'.$content4; 310 + $content .= '本周主要优化工作包括:TDK、H标签、Img标签等优化设置排查与进一步完善,Sitemap更新与网页收录提交,外链新增与排查。'.$content4;
  311 + }
  312 + if(!empty($content4)){
  313 + $arr[] = $content4;
311 } 314 }
312 - $arr[] = $content4;  
313 if(empty($arr)){ 315 if(empty($arr)){
314 return true; 316 return true;
315 } 317 }
@@ -335,5 +337,6 @@ class DownloadProject extends Command @@ -335,5 +337,6 @@ class DownloadProject extends Command
335 $messagePushModel = new MessagePush(); 337 $messagePushModel = new MessagePush();
336 $messagePushModel->add($param); 338 $messagePushModel->add($param);
337 echo date('Y-m-d H:i:s') . '数据:'. $content . PHP_EOL; 339 echo date('Y-m-d H:i:s') . '数据:'. $content . PHP_EOL;
  340 + return true;
338 } 341 }
339 } 342 }