# Tomcat
|
server:
|
tomcat:
|
uri-encoding: UTF-8
|
max-threads: 1000
|
min-spare-threads: 30
|
port: 8050
|
servlet:
|
context-path: /life-protection
|
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://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: 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/life-protection/
|
local-path: D:/ZHPT/IMG/ #附件存储目录
|
local-qd-path: D:/ZHPTQD/IMG/ #附件存储目录
|
local-prefix: life-protection #附件存储子目录
|
local-area: sy
|
local-server: jd
|
|
#系统配置
|
data:
|
key: yycbCuSrN1lPMI4M
|
# path: /ZHPT/IMG/DATAEXPORT/
|
sync-path: D:/ZHPT/IMG/SYNCDATAEXPORT/
|
# sync-data-path: D:/ZHPT/IMG/SYNCDATAEXPORT/DATA/
|
# sync-file-path: D:/ZHPT/IMG/SYNCDATAEXPORT/FILE/
|
batch-file-path: D:/ZHPTQD/IMG/
|
# sync-zip-path: /ZHPT/IMG/ 用zt.oss.local-path
|
|
# 一下4项分系统接口不用了
|
replace-url: http://61.183.254.94:8090
|
edms-url: http://61.183.254.94:8090
|
train-url: http://localhost:8001
|
ietp-url: http://www.sina.com.cn?
|
|
maintain-home-url: http://10.70.100.41:8080/ #维修系统首页
|
|
# 以下几项已经在程序中写死了 配置不起作用
|
technology-url: http://localhost:8001 #态势图首页
|
login-url: http://localhost:8001/#/login #http://10.70.100.41:8080/login
|
single-sign-url: /system/user/getLoginUserOfToken
|
single-sign-verify-url: /system/user/verifyOFToken
|
# http://localhost50/life-protection/system/user/getLoginUserOfToken?token=aaa
|
|
# 网络图pdf文件单位信息
|
diagram-unit: aaaabbbbbbbbbb
|
diagram-license: d:/Aspose.TotalProductFamily.lic
|
|
# 1 研究所,2 厂家,3 T队, 4 保障部 ,5 hjjg
|
unittype: 2
|
# 如果unittype是1、4、5 unitid和unittype一致 如果unittype是2、3 则unitid取sys_dept表对应的id(切记重名和是否删除)
|
unitid: 1303144636127498242
|
#left,top
|
menuPos: left
|
debug: true
|
test: true
|
|
line-nodes: 10
|
area-width: 5000
|
|
testNewFun: false
|
loginbytoken: single2
|
|
sessionTimeout: 200
|
# 单位分钟
|
tokenTimeout: 60
|
# 单位分钟
|
|
# 不用了
|
basicInforImport:
|
shipId: 3244
|
busiType: BaseInfo
|
|
########################器材相关start
|
img:
|
location: D://workdir/deploy/img
|
excel:
|
location: D://
|
download:
|
location: D://workdir/deploy
|
adb:
|
path: E:\\Android\\android dev tool\\sdk\\platform-tools
|
|
xian:
|
number: 910
|
|
isDisplay:
|
data: true
|
isShow:
|
data: false
|
Cang:
|
flag: 3
|
|
box:
|
number: Q
|
image:
|
location: D://workdir/deploy/img/imgeqpt/
|
device: D://workdir/deploy/img/imgdevice/
|
kind:
|
code: S
|
Handset:
|
code: M
|
BoxPolling:
|
schedule: "0/60 * * * * ?"
|
ip: 192.168.0.1
|
port: 9300
|
udp_port: 9300
|
excelModel:
|
location: D://workdir/deploy/excelModel
|
backups:
|
rate: 2
|
########################器材相关end
|