xielin 5 years ago
parent
commit
0e2324c4d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/CalcPostWeight.php

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

@@ -50,7 +50,7 @@ class CalcPostWeight extends Command
             $postInfo = PostData::where("post_id", $postId)->first();
             Log::debug('帖子:' . json_encode($postInfo));
             $temp = ($postInfo['pv'] +
-                (5 * $postInfo->share_cout) +
+                (5 * $postInfo->share_count) +
                 (2 * $postInfo->praise_count) +
                 (10 * $postInfo->collect_count) +
                 (3 * $postInfo->comment_count) -