2019-06-12から1日間の記事一覧
アプリに良いね数をカウントして表示する機能と、自分の投稿に良いねできない制限を加えた。 ・エラー1 if ($dislike_exist) { return false; } else { if($like_exist) { $this->liked_cards()->detach($card_id); return true →変なところにこれを入れて…
アプリに良いね数をカウントして表示する機能と、自分の投稿に良いねできない制限を加えた。 ・エラー1 if ($dislike_exist) { return false; } else { if($like_exist) { $this->liked_cards()->detach($card_id); return true →変なところにこれを入れて…