# Tomcat
|
server:
|
tomcat:
|
uri-encoding: UTF-8
|
max-threads: 1000
|
min-spare-threads: 30
|
port: 8050
|
servlet:
|
context-path: /test-project
|
session:
|
cookie:
|
http-only: true
|
timeout: PT1H30M
|
spring:
|
profiles:
|
active: prod
|
datasource:
|
druid:
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
#url: jdbc:mysql://127.0.0.1:3306/csiczb?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
|
#url: jdbc:mysql://127.0.0.1:3306/test_project?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
|
url: jdbc:mysql://192.168.31.25:3306/test_project?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
|
#url: jdbc:mysql://127.0.0.1:3306/zhpt_djxl?serverTimezone=GMT&allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
|
username: root
|
password: root
|
#password: 123456
|
# driver-class-name: com.kingbase8.Driver
|
# url: jdbc:kingbase8://192.168.0.25:54321/ZHPT?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
# username: SYSTEM
|
# password: 123456
|
initial-size: 10
|
max-active: 100
|
min-idle: 10
|
max-wait: 6000
|
pool-prepared-statements: true
|
max-pool-prepared-statement-per-connection-size: 20
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
stat-view-servlet:
|
enabled: true
|
url-pattern: /druid/*
|
#login-username: admin
|
#login-password: admin
|
filter:
|
stat:
|
log-slow-sql: true
|
slow-sql-millis: 1000
|
merge-sql: false
|
wall:
|
config:
|
multi-statement-allow: true
|
messages:
|
encoding: UTF-8
|
basename: i18n/messages
|
servlet:
|
multipart:
|
max-file-size: 101MB
|
max-request-size: 101MB
|
enabled: true
|
redis:
|
host: 127.0.0.1
|
port: 6379
|
cache:
|
type: none # 原先使用redis,现在改为none
|
# redis:
|
# use-key-prefix: false
|
# time-to-live: 3600000
|
# cache-null-values: true
|
|
activiti:
|
check-process-definitions: false
|
|
#mybatis
|
mybatis-plus:
|
mapper-locations: classpath*:/mapper/**/*.xml
|
#实体扫描,多个package用逗号或者分号分隔
|
typeAliasesPackage: com.zt.*.model
|
global-config:
|
#数据库相关配置
|
db-config:
|
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
id-type: ID_WORKER
|
banner: false
|
#原生配置
|
configuration:
|
map-underscore-to-camel-case: true
|
cache-enabled: false
|
call-setters-on-nulls: true
|
jdbc-type-for-null: 'null'
|
|
logging:
|
level:
|
com.zt : debug
|
config: classpath:logback-spring.xml
|
j2cache:
|
config-location: classpath:/j2cache.properties
|
redis-client: lettuce
|
open-spring-cache: true
|
|
fdfs:
|
so-timeout: 600000
|
connect-timeout: 6000
|
tracker-list: #TrackerList参数,支持多个
|
- 192.168.10.10:22122
|
|
# cas server settings
|
cas:
|
# tgc:
|
# secure: false
|
# serviceRegistry:
|
# initFromJson: true
|
server-url-prefix: http://localhost:8100/cas
|
server-login-url: http://localhost:8100/cas/login
|
client-host-url: http://localhost:8050
|
validation-type: cas
|
|
zt:
|
oss:
|
type: local
|
local-domain: http://127.0.0.1:8050/test-project/
|
local-path: D:/TestProjectFiles/ #附件存储目录
|
local-qd-path: D:/TestProjectFiles/ #附件存储目录
|
local-prefix: accessories #附件存储子目录
|
local-area: sy
|
local-server: jd
|
|
#系统配置
|
data:
|
key: yycbCuSrN1lPMI4M
|
sync-path: D:/TestProjectFiles/SYNCDATAEXPORT/
|
|
#left,top
|
menuPos: left
|
debug: true
|
test: true
|
|
line-nodes: 10
|
area-width: 5000
|
|
testNewFun: false
|
|
sessionTimeout: 200
|
# 单位分钟
|
tokenTimeout: 60
|
# 单位分钟
|