api.php 里面的路由,走中间件的时候提示未授权 401?
我们这个项目进行了半年了,以前没问题,上周六开始所有接口就提示 ,
详细信息
"exceptions": {
"count": 1,
"exceptions": [
{
"type": "Illuminate\\Auth\\AuthenticationException",
"message": "Unauthenticated.",
"code": 0,
"file": "D:\\jeff\\code\\jianwen\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php",
"line": 66,
"surrounding_lines": [
" }\n",
" }\n",
"\n",
" throw new AuthenticationException('Unauthenticated.', $guards);\n",
" }\n",
"}\n"
],
"xdebug_link": null
}
]
},
推荐文章: