|
@@ -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) -
|