作者 刘锟

update

@@ -326,16 +326,6 @@ class ProjectUpdate extends Command @@ -326,16 +326,6 @@ class ProjectUpdate extends Command
326 //分类 326 //分类
327 $category_id = ''; 327 $category_id = '';
328 $category_arr = []; 328 $category_arr = [];
329 - if ($project_id == 596 && empty($item['category'])) {  
330 - //596项目,产品没有分类,默认属于Featured分类  
331 - $item['category'] = [  
332 - [  
333 - 'id' => 623,  
334 - 'name' => 'Featured',  
335 - 'pid' => 0  
336 - ]  
337 - ];  
338 - }  
339 if ($item['category'] ?? []) { 329 if ($item['category'] ?? []) {
340 if ($project_id == 4075 && count($item['category']) == 1 && $item['category'][0]['name'] == 'Featured') { 330 if ($project_id == 4075 && count($item['category']) == 1 && $item['category'][0]['name'] == 'Featured') {
341 //4075项目特殊处理:不采集Featured分类下的产品 331 //4075项目特殊处理:不采集Featured分类下的产品