xiaogang 3 년 전
부모
커밋
b031ca764f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/DynamicService.php

+ 1 - 1
app/Services/DynamicService.php

xqd
@@ -55,7 +55,7 @@ class DynamicService
         if($tag->user_id!=$user->id){
             throw new Exception('只能删除自己的话题');
         }
-        $tag->delete = 1;
+        $tag->is_delete = 1;
         $tag->save();
         return true;
     }