增加 SecurityProperties 和 WebProperties 默认值,简化配置

This commit is contained in:
YunaiV
2022-06-11 23:54:30 +08:00
parent 309ba2d3f1
commit b1aa9f484f
5 changed files with 9 additions and 17 deletions

View File

@ -192,9 +192,7 @@ yudao:
captcha:
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试
security:
token-header: Authorization
mock-enable: true
mock-secret: test
xss:
enable: false
exclude-urls: # 如下两个 url仅仅是为了演示去掉配置也没关系