5.4 控制器中间件 配置问题


[upl-image-preview url=http://static.forum.laravelacademy.org/assets/files/2018-03-10/1520665242-144709-j39cd48tl2daejc56i.png]
配置如下:
kernel.php:
[upl-image-preview url=http://static.forum.laravelacademy.org/assets/files/2018-03-10/1520665308-79689-t8t-a5516jrdpje-wg.png]
web.php:
[upl-image-preview url=http://static.forum.laravelacademy.org/assets/files/2018-03-10/1520665359-956835-4oh-wuqcllm11nbvq7.png]
中间件:
[upl-image-preview url=http://static.forum.laravelacademy.org/assets/files/2018-03-10/1520665442-805458-vrwx3gn0sfcs4xj7up7.png]
以上配置报错了。
///////////////////////
将web.php改为
[upl-image-preview url=http://static.forum.laravelacademy.org/assets/files/2018-03-10/1520665555-150289-pkefdqgnu31iwybu6l.png]
就可以正常访问,求帮忙解决问题!!!!


Vote Vote Cancel Collect Collect Cancel

<< 上一篇: laravel 敏感词

>> 下一篇: laravel-echo-server node 报错 不能将未定义的或null转换为对象