|
@@ -270,8 +270,10 @@ class CircleMessageRepository
|
|
|
DB::commit();
|
|
|
if ($newComment->parent_id) {
|
|
|
Redis::DEL('circle_message_new_reply_' . $newComment->parent_id);
|
|
|
+ Log::debug('删除回复缓存'.$newComment->id);
|
|
|
} else {
|
|
|
Redis::DEL('circle_message_new_comment_' . $newComment->post_id);
|
|
|
+ Log::debug('删除评论缓存'.$newComment->id);
|
|
|
}
|
|
|
$key = "community_calc_circle_score";
|
|
|
Redis::sadd($key,$request['msg_id']);
|