常用方法
常用方法
常用方法
常用方法
public function unlikePost($post_id) { $user_id = Auth::id(); $like = new Like(); $like->unlikePost($user_id, $post_id); }
public function unlikePost($post_id) { $user_id = Auth::id(); $like = new Like(); $like->unlikePost($user_id, $post_id); }