duqinya 5 年之前
父节点
当前提交
a68e63673e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/RankingList.php

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

@@ -89,7 +89,7 @@ class RankingList extends Command
         foreach ($comment_best_author as $k => $v) {
             $comment_best_author[$k]['type'] = 'comment';
         }
-        $general_author = $this->_condition($this->commentRecord);
+        $general_author = $this->_condition($this->generalRecord);
         $general_best_author = $general_author->toArray();
         foreach ($general_best_author as $k => $v) {
             $general_best_author[$k]['type'] = 'general';