spring:
|
profiles:
|
active: dev
|
main:
|
allow-circular-references: true
|
allow-bean-definition-overriding: true
|
mvc:
|
pathmatch:
|
matching-strategy: ant_path_matcher
|
application:
|
name: sccg-platform
|
http:
|
charset: UTF-8
|
enabled: true
|
force: true
|
|
servlet:
|
multipart:
|
location: D://files/upload/
|
max-file-size: -1
|
max-request-size: -1
|
# jackson:
|
# default-property-inclusion: non_null
|
|
|
management:
|
health:
|
rabbit:
|
enabled: false
|
|
jwt:
|
tokenHeader: Authorization #JWT存储的请求头
|
secret: platform-secret #JWT加解密使用的密钥
|
expiration: 604800 #JWT的超期限时间(60*60*24*7)
|
tokenHead: 'Bearer ' #JWT负载中拿到开头
|
|
#redis:
|
# database: sccg
|
# key:
|
# admin: 'ums:admin'
|
# resourceList: 'ums:menuList'
|
# expire:
|
# common: 86400 # 24小时
|
|
#MP配置
|
mybatis-plus:
|
mapper-locations: classpath*:mapper/**/*.xml
|
global-config:
|
db-config:
|
id-type: auto
|
#逻辑删除配置字段
|
logic-delete-field:
|
#逻辑删除配置字段 1 删除
|
logic-delete-value: 1
|
#逻辑删除配置字段 0 不删除
|
logic-not-delete-value: 0
|
|
knife4j:
|
enable: true
|
#true则是生产环境不允许访问knife4j
|
production: false
|
|
secure:
|
ignored:
|
urls:
|
- /swagger-ui.html
|
- /swagger/**
|
- /swagger-ui/*
|
- /swagger-resources/**
|
- /**/v2/api-docs
|
- /doc.html
|
- /**/*.html
|
- /**/*.js
|
- /**/*.css
|
- /**/*.png
|
- /**/*.ico
|
# - /newsAdmin/login
|