JellyBool

17773 经验值

试试这个:

php artisan make:controller PostController --resource

直接打开 log 文件就好了啊。。。。

没记错是在 /var/log/nginx/ 目录下,有 access.log 和 error.log

保证这个 token 是可用的就行

${store.state.login.token}

这样试试:

config.headers.Bearer = `Bearer ${store.state.login.token}`;  

bear 那行没写对....

config.headers.Beaer is= ' Beaer $()....

这根拦截器没什么关系吧

你用的apache is?nginx?

OK,我仔细看看,这个实在是 bug

没有删除的,应该是你的代码哪写错了吧

你看看这个,一个完整的 windows 10 安装 homestead 的教程:

https://medium.com/@eaimanshoshi/i-am-going-to-write-down-step-by-step-procedure-to-setup-homestead-for-laravel-5-2-17491a423aa#.8ittl5j9y

找个梯子