作者 赵彬吉

update

@@ -48,7 +48,7 @@ class IndexedPages extends BaseCommands @@ -48,7 +48,7 @@ class IndexedPages extends BaseCommands
48 $project_ids[] = 2104; 48 $project_ids[] = 2104;
49 } 49 }
50 foreach ($project_ids as $project_id){ 50 foreach ($project_ids as $project_id){
51 - $rank_data = RankData::where('project_id', $project_id)->where('lang', '')->first(); 51 + $rank_data = RankData::where('project_id', $project_id)->where('api_no', $api_no)->where('lang', '')->first();
52 if($rank_data){ 52 if($rank_data){
53 $rank_data->indexed_pages_num = $num; 53 $rank_data->indexed_pages_num = $num;
54 $rank_data->save(); 54 $rank_data->save();