laravel判定多对多关系是否存在 $project->users()->where('id', $user->id)->exists(); https://laravel-china.org/topics/13590/does-laravel-orm-have-the-method-of-self-existence-of-many-to-many-association-jud...