2025-01-16 19:19:59 +08:00
|
|
|
# 配置端口
|
|
|
|
|
server:
|
|
|
|
|
port: 21520
|
2025-03-28 13:46:59 +08:00
|
|
|
servlet:
|
|
|
|
|
context-path: /gz-aqgqj
|
2025-01-16 19:19:59 +08:00
|
|
|
max-http-header-size: 10240
|
|
|
|
|
spring:
|
|
|
|
|
# 配置数据源
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2025-03-28 13:46:59 +08:00
|
|
|
url: jdbc:mysql://192.168.0.16:4419/gzimtcs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
|
2025-01-16 19:19:59 +08:00
|
|
|
username: root
|
|
|
|
|
password: Bonus@admin123!
|
2025-03-28 13:46:59 +08:00
|
|
|
# url: jdbc:mysql://localhost:13306/gzimt250319?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
|
|
|
# username: root
|
|
|
|
|
# password: liang971108@Sun
|
2025-01-16 19:19:59 +08:00
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
redis:
|
2025-03-28 13:46:59 +08:00
|
|
|
host: 192.168.0.16
|
|
|
|
|
port: 2001
|
|
|
|
|
password: Zhzbns@Redis123!
|
|
|
|
|
database: 1
|
|
|
|
|
# database: 7
|
|
|
|
|
# host: 127.0.0.1
|
|
|
|
|
# port: 6379
|
|
|
|
|
# password: liang971108lu@L
|
|
|
|
|
|
2025-01-16 19:19:59 +08:00
|
|
|
|
|
|
|
|
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:
|
2025-03-28 13:46:59 +08:00
|
|
|
windows: e://files/zg_gqj
|
2025-01-16 19:19:59 +08:00
|
|
|
linux: /home/zg_gqj/files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|