session一直报错Session store not set on request

2018-02-10 13:08:30来源:cnblogs.com作者:张扬个性,敢为天下先人点击

分享
Route::group(['middleware' => ['web']], function () {
//
});
仍然报错,看了 session是使用默认file,没问题;app/storage文件也是可写的,然后在
Kernel.php中添加了
protected $middleware = [
/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode::class,
/Illuminate/Session/Middleware/StartSession::class,
/Illuminate/View/Middleware/ShareErrorsFromSession::class,
];

最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台