ソースを参照

删除评论id

wzq 5 年 前
コミット
1e834318af
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  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) {