Skip to content

Commit

Permalink
Update jwt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
daixiangwen authored Apr 19, 2022
1 parent ddedbde commit a4afc49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions publish/jwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* 如果数组中存在["**", "/**"],则默认所有的请求路由都不做jwt token的校验,直接放行,如果no_check_route为一个空数组,则
* 所有的请求路由都需要做jwt token校验
* 路由路径支持正则的写法
* 正则写法:["**", "/api/{name:.+}"] 支持模块化不做jwt token的校验,例如:/api/login/login
*/
'no_check_route' => [
["**", "/**"],
Expand Down

0 comments on commit a4afc49

Please sign in to comment.