if($category->user_id != auth()->id()){
throw new ModelNotFoundException();
}
laravel 手动抛出异常
最新推荐文章于 2024-07-04 17:56:54 发布
if($category->user_id != auth()->id()){
throw new ModelNotFoundException();
}