Bläddra i källkod

排序字段修改

duqinya 5 år sedan
förälder
incheckning
b1626977dd
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);
 
-        $column = array_column($all_best_author, 'generation_quantity');
+        $column = array_column($all_best_author, 'count');
         array_multisort($column, SORT_DESC, $all_best_author);
 
         $all_best_author = array_slice($all_best_author, 0, 10);