登录nacos
在配置管理中配置列表,修改ruoyi-gateway-dev.yml
在ignore
中设置whites
,表示允许匿名访问
# 不校验白名单
security:
ignore:
whites:
- /auth/logout
- /auth/login
- /*/v2/api-docs
- /csrf
登录nacos
在配置管理中配置列表,修改ruoyi-gateway-dev.yml
在ignore
中设置whites
,表示允许匿名访问
# 不校验白名单
security:
ignore:
whites:
- /auth/logout
- /auth/login
- /*/v2/api-docs
- /csrf