作者 刘锟

update

@@ -466,10 +466,6 @@ class ProjectUpdate extends Command @@ -466,10 +466,6 @@ class ProjectUpdate extends Command
466 'image' => $new_img, 466 'image' => $new_img,
467 'sort' => $item['sort'] ?? 0, 467 'sort' => $item['sort'] ?? 0,
468 ], ['id' => $id]); 468 ], ['id' => $id]);
469 -  
470 - if ($project_id == 547) {  
471 - CollectTask::_insert($item['url'], $project_id, $api_type == 'news' ? RouteMap::SOURCE_NEWS : RouteMap::SOURCE_BLOG, $id, $domain_arr['host'], $link_type, $language_list, $page_list);  
472 - }  
473 } 469 }
474 } catch (\Exception $e) { 470 } catch (\Exception $e) {
475 echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL; 471 echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL;
@@ -532,10 +528,6 @@ class ProjectUpdate extends Command @@ -532,10 +528,6 @@ class ProjectUpdate extends Command
532 'description' => $item['description'] ?? '', 528 'description' => $item['description'] ?? '',
533 'html' => $item['content'] ?? '', 529 'html' => $item['content'] ?? '',
534 ], ['id' => $id]); 530 ], ['id' => $id]);
535 -  
536 - if ($project_id == 547) {  
537 - CollectTask::_insert($item['url'], $project_id, RouteMap::SOURCE_PAGE, $id, $domain_arr['host'], $link_type, $language_list, $page_list);  
538 - }  
539 } 531 }
540 } catch (\Exception $e) { 532 } catch (\Exception $e) {
541 echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL; 533 echo 'date:' . date('Y-m-d H:i:s') . ', task_id: ' . $task->id . ', error: ' . $e->getMessage() . PHP_EOL;
@@ -635,10 +627,6 @@ class ProjectUpdate extends Command @@ -635,10 +627,6 @@ class ProjectUpdate extends Command
635 'content' => $item['content'] ?? '', 627 'content' => $item['content'] ?? '',
636 'image' => $new_img 628 'image' => $new_img
637 ], ['id' => $id]); 629 ], ['id' => $id]);
638 -  
639 - if ($project_id == 547) {  
640 - CollectTask::_insert($item['url'], $project_id, RouteMap::SOURCE_MODULE, $id, $domain_arr['host'], $link_type, $language_list, $page_list);  
641 - }  
642 } 630 }
643 631
644 //扩展字段 632 //扩展字段