|
...
|
...
|
@@ -374,6 +374,8 @@ class ProjectUpdate extends Command |
|
|
|
'values' => $ve,
|
|
|
|
'type' => 1
|
|
|
|
]);
|
|
|
|
} else {
|
|
|
|
$extend_info_model->edit(['values' => $ve], ['key' => $extend_key, 'product_id' => $id]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -465,7 +467,7 @@ class ProjectUpdate extends Command |
|
|
|
'sort' => $item['sort'] ?? 0,
|
|
|
|
], ['id' => $id]);
|
|
|
|
|
|
|
|
if($project_id == 547){
|
|
|
|
if ($project_id == 547) {
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -531,7 +533,7 @@ class ProjectUpdate extends Command |
|
|
|
'html' => $item['content'] ?? '',
|
|
|
|
], ['id' => $id]);
|
|
|
|
|
|
|
|
if($project_id == 547){
|
|
|
|
if ($project_id == 547) {
|
|
|
|
CollectTask::_insert($item['url'], $project_id, RouteMap::SOURCE_PAGE, $id, $domain_arr['host'], $link_type, $language_list, $page_list);
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -593,7 +595,7 @@ class ProjectUpdate extends Command |
|
|
|
$category_id = $category_custom['id'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($category_id){
|
|
|
|
if ($category_id) {
|
|
|
|
$category_id = ',' . $category_id . ',';
|
|
|
|
}
|
|
|
|
//图片
|
|
...
|
...
|
@@ -634,7 +636,7 @@ class ProjectUpdate extends Command |
|
|
|
'image' => $new_img
|
|
|
|
], ['id' => $id]);
|
|
|
|
|
|
|
|
if($project_id == 547){
|
|
|
|
if ($project_id == 547) {
|
|
|
|
CollectTask::_insert($item['url'], $project_id, RouteMap::SOURCE_MODULE, $id, $domain_arr['host'], $link_type, $language_list, $page_list);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|