server:
|
port: 8080
|
|
logging:
|
level:
|
com.example: debug
|
file: log/my.log
|
|
j2cache:
|
config-location: classpath:/j2cache.properties
|
|
data:
|
imgDir: src/main/resources/static/img
|
identity: 17752289545958719176
|
line-nodes: 10
|
area-width: 5000
|
configPath: config.properties
|
tmp-path: templateFile/
|
|
spring:
|
profiles:
|
active: prod
|
datasource:
|
driver-class-name: org.sqlite.JDBC
|
url: "jdbc:sqlite:src/main/resources/db/csiczb1.db"
|
username: "root"
|
password: "123456"
|
messages:
|
encoding: UTF-8
|
basename: i18n/messages
|
servlet:
|
multipart:
|
max-file-size: 1034MB
|
max-request-size: 1034MB
|
enabled: true
|
redis:
|
host: 127.0.0.1
|
port: 6379
|
cache:
|
type: none # 原先使用redis,现在改为none
|
|
mybatis-plus:
|
mapper-locations: classpath*:/mapper/**/*.xml
|
#实体扫描,多个package用逗号或者分号分隔
|
typeAliasesPackage: com.example.*.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'
|
|
zt:
|
oss:
|
type: local
|
local-domain: http://127.0.0.1:8050/life-protection/
|
local-path: D:/ZHPT/IMG/ #附件存储目录
|
log-path: D:/ZHPT/IMG/ #附件存储目录
|
local-qd-path: D:/ZHPTQD/IMG/ #附件存储目录
|
local-prefix: life-protection #附件存储子目录
|
local-area: sy
|
local-server: jd
|
Unzip-path: D:/ZHPT/IMG/unZip/
|