tp5.1.35控制器中间件 except无效

浏览:847 发布日期:2020/05/15 分类:ThinkPHP5专区
protected $middleware = [
'Auth' => ['except' => ['hello'] ],
'Hello' => ['only' => ['hello'] ],
];

except only 不生效,求解决方法
最佳答案
评论() 相关
后面还有条评论,点击查看>>