Browse Source

排序字段修改

duqinya 5 years ago
parent
commit
b1626977dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/RankingList.php

+ 1 - 1
app/Console/Commands/RankingList.php

@@ -105,7 +105,7 @@ class RankingList extends Command
         }
         }
         $all_best_author = array_merge($comment_best_author, $general_best_author, $release_best_author);
         $all_best_author = array_merge($comment_best_author, $general_best_author, $release_best_author);
 
 
-        $column = array_column($all_best_author, 'generation_quantity');
+        $column = array_column($all_best_author, 'count');
         array_multisort($column, SORT_DESC, $all_best_author);
         array_multisort($column, SORT_DESC, $all_best_author);
 
 
         $all_best_author = array_slice($all_best_author, 0, 10);
         $all_best_author = array_slice($all_best_author, 0, 10);