作者 赵彬吉

update

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