问答 / 923 / 0 / 创建于 6年前
Gate::resource('posts', 'PostPolicy');
应改为
Gate::resource('posts', PostPolicy::class);
我要举报该,理由是:
推荐文章: