xielin 5 роки тому
батько
коміт
0c26913b47
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      app/Repositories/Circle/CircleMessageRepository.php

+ 2 - 0
app/Repositories/Circle/CircleMessageRepository.php

@@ -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']);