xiaogang hace 3 años
padre
commit
b031ca764f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
     }