|
@@ -242,7 +242,7 @@ class InteractionController extends Controller
|
|
$user = $this->getUser();
|
|
$user = $this->getUser();
|
|
|
|
|
|
|
|
|
|
- $ok = CommentInfoModel::where('user_id',$user->id)->where('id',$request->id);
|
|
|
|
|
|
+ $ok = CommentInfoModel::where('user_id',$user->id)->where('id',$request->id)->delete();
|
|
|
|
|
|
if ($ok) {
|
|
if ($ok) {
|
|
return $this->api('');
|
|
return $this->api('');
|