48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
# 配置端口
|
|
server:
|
|
port: 21522
|
|
servlet:
|
|
context-path:
|
|
max-http-header-size: 10240
|
|
spring:
|
|
# 配置数据源
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://10.1.0.141:13306/gzimt1.0?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
|
|
username: root
|
|
password: gsyfq@09mysql!
|
|
# type: com.alibaba.druid.pool.DruidDataSource
|
|
redis:
|
|
host: 10.1.0.141
|
|
port: 6379
|
|
password: Bonus@admin123!
|
|
database: 7
|
|
servlet:
|
|
multipart:
|
|
max-file-size: -1
|
|
max-request-size: -1
|
|
#mapper配置
|
|
mybatis:
|
|
mapper-locations: classpath:mappers/**/*Mapper.xml,mappers/**/**/*Mapper.xml
|
|
#日志配置
|
|
logging:
|
|
config: classpath:logback-boot.xml
|
|
log:
|
|
level:
|
|
root: info
|
|
my: debug
|
|
file: logs/sys-back.log
|
|
maxsize: 30MB
|
|
#是否开启安全模式
|
|
zhly:
|
|
aq:
|
|
enable: false
|
|
|
|
file:
|
|
upload_path:
|
|
windows: D://files/gz_car
|
|
linux: /home/zg_gqj/files
|
|
|
|
|
|
|