2024-10-28 15:31:30 +08:00
|
|
|
|
server:
|
|
|
|
|
port: 8081
|
|
|
|
|
servlet:
|
|
|
|
|
session:
|
|
|
|
|
cookie:
|
|
|
|
|
http-only: true
|
|
|
|
|
secure: true
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
global-config:
|
|
|
|
|
db-config:
|
|
|
|
|
id-type: auto
|
|
|
|
|
field-strategy: not_empty
|
|
|
|
|
#驼峰下划线转换
|
|
|
|
|
column-underline: true
|
|
|
|
|
#逻辑删除配置
|
|
|
|
|
logic-delete-value: 0
|
|
|
|
|
logic-not-delete-value: 1
|
|
|
|
|
db-type: postgresql
|
|
|
|
|
refresh: false
|
|
|
|
|
enable-sql-runner: true
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
cache-enabled: false
|
|
|
|
|
mapper-locations: classpath:/mapper/*.xml
|
|
|
|
|
type-aliases-package: com.message.api.log.entity
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
##连接数据库
|
|
|
|
|
datasource:
|
|
|
|
|
username: postgres
|
|
|
|
|
password: scutensave
|
|
|
|
|
url: jdbc:postgresql://129.211.33.98:5432/sms
|
|
|
|
|
driver-class-name: org.postgresql.Driver
|
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
main:
|
|
|
|
|
allow-bean-definition-overriding: true
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 100MB
|
|
|
|
|
max-request-size: 200MB
|
|
|
|
|
redis:
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 6379
|
|
|
|
|
# password: fongtech6400
|
|
|
|
|
jedis:
|
|
|
|
|
pool:
|
|
|
|
|
max-wait: 30000 #连接池最大阻塞等待时间
|
|
|
|
|
max-active: 100 #连接池最大连接数
|
|
|
|
|
max-idle: 20 #连接池中的最大空闲连接数
|
|
|
|
|
min-idle: 0 #连接池中的最小空闲连接
|
|
|
|
|
timeout: 10000 #连接超时
|
|
|
|
|
password: 123456
|
|
|
|
|
|
|
|
|
|
userproperties:
|
|
|
|
|
updatepwdtime: 15552000 #密码更新期限180天, 180*24*60*60
|
|
|
|
|
|
|
|
|
|
logging.level.com.hejr.springboot2_003.mapper: debug
|
|
|
|
|
external:
|
|
|
|
|
resource:
|
2024-10-28 15:54:52 +08:00
|
|
|
|
dir: ../external-resources
|
2024-10-28 15:31:30 +08:00
|
|
|
|
#单点登录信息
|
|
|
|
|
sso:
|
|
|
|
|
appId: 500000099
|
|
|
|
|
secret: dYp4pHNiuKxTizdOlKtu
|