Browse Source

删除评论id

wzq 5 years ago
parent
commit
1e834318af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Repositories/Post/PostRepository.php

+ 1 - 0
app/Repositories/Post/PostRepository.php

@@ -714,6 +714,7 @@ class PostRepository
             $comment->save();
 
             DB::commit();
+            Redis::SADD('delete_post_comment_ids', $comment->id);
             return Response::create();
 
         } catch (QueryException $exception) {