mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 15:35:06 +08:00
增加 SecurityProperties 和 WebProperties 默认值,简化配置
This commit is contained in:
@ -171,10 +171,6 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
|
||||
|
||||
# 芋道配置项,设置当前项目所有自定义的配置
|
||||
yudao:
|
||||
security:
|
||||
token-header: Authorization
|
||||
mock-enable: true
|
||||
mock-secret: test
|
||||
xss:
|
||||
enable: false
|
||||
exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
|
||||
|
@ -192,9 +192,7 @@ yudao:
|
||||
captcha:
|
||||
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试
|
||||
security:
|
||||
token-header: Authorization
|
||||
mock-enable: true
|
||||
mock-secret: test
|
||||
xss:
|
||||
enable: false
|
||||
exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
|
||||
|
@ -75,12 +75,6 @@ yudao:
|
||||
version: 1.0.0
|
||||
base-package: cn.iocoder.yudao
|
||||
web:
|
||||
admin-api:
|
||||
prefix: /admin-api
|
||||
controller: '**.controller.admin.**'
|
||||
app-api:
|
||||
prefix: /app-api
|
||||
controller: '**.controller.app.**'
|
||||
admin-ui:
|
||||
url: http://dashboard.yudao.iocoder.cn # Admin 管理后台 UI 的地址
|
||||
swagger:
|
||||
|
Reference in New Issue
Block a user