浏览代码

排序字段修改

duqinya 5 年之前
父节点
当前提交
b1626977dd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);