作者 刘锟

合并分支 'akun' 到 'master'

update



查看合并请求 !1973
... ... @@ -305,11 +305,9 @@ class ProjectUpdate extends Command
$category_id = '';
$category_arr = [];
if ($item['category'] ?? []) {
if ($project_id == 4075) {
if ($project_id == 4075 && count($item['category']) == 1 && $item['category'][0]['name'] == 'Featured') {
//4075项目特殊处理:不采集Featured分类下的产品
if (count($item['category']) == 1 && $item['category'][0]['name'] == 'Featured') {
continue;
}
continue;
}
$category_arr = $category_model->list(['original_id' => ['in', array_column($item['category'], 'id')]]);
$category_id = $logic->getLastCategory(array_column($category_arr, 'id'));
... ...