|
...
|
...
|
@@ -326,16 +326,6 @@ class ProjectUpdate extends Command |
|
|
|
//分类
|
|
|
|
$category_id = '';
|
|
|
|
$category_arr = [];
|
|
|
|
if ($project_id == 596 && empty($item['category'])) {
|
|
|
|
//596项目,产品没有分类,默认属于Featured分类
|
|
|
|
$item['category'] = [
|
|
|
|
[
|
|
|
|
'id' => 623,
|
|
|
|
'name' => 'Featured',
|
|
|
|
'pid' => 0
|
|
|
|
]
|
|
|
|
];
|
|
|
|
}
|
|
|
|
if ($item['category'] ?? []) {
|
|
|
|
if ($project_id == 4075 && count($item['category']) == 1 && $item['category'][0]['name'] == 'Featured') {
|
|
|
|
//4075项目特殊处理:不采集Featured分类下的产品
|
...
|
...
|
|