api.php 里面的路由,走中间件的时候提示未授权 401?


我们这个项目进行了半年了,以前没问题,上周六开始所有接口就提示401未授权  
eb8fe014274c3283e4c13fe5837d0e8d.png
详细信息
```
  "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
      }
    ]
  },



```

点赞 取消点赞 收藏 取消收藏

<< 上一篇: 前端框架共享CSS设置

>> 下一篇: session在 控制器__construct里无法取到