application.properties 4.09 KB
#默认数据库配置
spring.datasource.url=jdbc:mysql://localhost:3306/cyyy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

#神通数据库连接配置
spring.datasource.oscar.url=jdbc:oscar://192.168.0.251:2004/OSRDB1
spring.datasource.oscar.username=SYSDBA
spring.datasource.oscar.password=szoscar55
spring.datasource.oscar.driver-class-name=com.oscar.Driver

#多数据源配置
beetlsql.ds.datasource.basePackage=com.spk,com.corp
beetlsql.ds.oscar.basePackage=com.spk.oscar
beetlsql.ds.oscar.dbStyle=com.spk.oscar.OscarDBStyle

#beetlsql.mutiple.datasource=datasource,oscar
beetlsql.mutiple.datasource=datasource

# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置 
#user.id=1
#user.orgId=1
#打开审计功能,开发模式应该关闭
audit.enable=false
#spring.cache.type=
spring.cache.type=SIMPLE
logging.level.root=info,debug
logging.level.org.springframework.web.servlet.mvc.method.annotation=warn
#logging.file = my.log
server.port=8080
server.max-http-header-size=10000000
#应用访问路径
#server.servlet.context-path=/console
#html视图交给beetl渲染
beetl.suffix=html 
app.name=朝阳医院财务预算申报系统
logging.pattern.console=%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
spring.devtools.restart.exclude=templates/**,static/**,sql/**
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
file.previewURL=http://localhost:8012/onlinePreview

#eureka-client
#是否开启eureka服务
eureka.client.enabled=false
spring.application.name=console-service
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/

#session超时时间,单位秒
server.servlet.session.timeout=1800
server.session.cookie.secure=true
server.session.cookie.http-only=false

#是否开启session超时检测
session.checkLoginEnable=true
#session拦截器会忽略这些地址
session.ExcludePathPatterns=/,/login.do,/logout.do,/getRandom.do,/loginAjax.do,/reLogin.do,/remind,/checkUserOnline,/dubget/budgetVerification/ExecutionBudge.json
#session拦截器只检测这些请求后缀
session.PathPatterns=.json,.do,.html

#session持久化到redis的配置,无需redis时配置为none
#spring.session.store-type=redis
spring.session.store-type=none

#redis相关配置
#spring.redis.database=0
#spring.redis.host=localhost
#spring.redis.port=6379

#是否允许用户重复登录
session.canRepeatLogin=true

#是否开启功能点权限访问控制
core.functionAccessEnable=false

#springboot admin 是否开启
spring.boot.admin.client.enabled=true
#客户端注册到监控中心的地址
spring.boot.admin.client.url=http://localhost:8899
#spring.boot.admin.client.instance.serviceBaseUrl=http://localhost:8080
#监控中学的用户名、密码
spring.boot.admin.client.username=root
spring.boot.admin.client.password=123456
#禁用redis服务的监控
management.health.redis.enabled=false
management.endpoints.web.exposure.include=*
#禁止访问这些服务
#management.endpoints.web.exposure.exclude=env,beans
#management.endpoints.jmx.exposure.exclude=beans
management.endpoint.health.show-details=always
#禁用关闭服务
management.endpoint.health.shutdown.enable=false
#限制文件上传大小
spring.servlet.multipart.maxFileSize=100Mb
spring.servlet.multipart.maxRequestSize=100Mb

#跳转BI认证地址
bi.auth.url=http://localhost:7090/spk-platform-bi/user/check

spring.jmx.default-domain=se

#是否开启文件分布式存储,默认false,使用本地存储
platform.dfs.enable=false
#实现dfs实现的类型,如fastdfs,gridfs,使用该名称获取相应service
platform.dfs.type=gridfs
#gridfs服务url,多个用逗号隔开,例://192.168.0.1:27017,//192.168.0.2:27017
platform.dfs.gridfs.url=192.168.0.251:27017
platform.dfs.gridfs.dbname=se
#platform.dfs.gridfs.username=
#platform.dfs.gridfs.password=