2024-11-06 18:12:07 +08:00
|
|
|
# 配置端口
|
|
|
|
|
server:
|
|
|
|
|
port: 21995
|
|
|
|
|
# servlet:
|
|
|
|
|
# context-path: /aqd_screen
|
|
|
|
|
max-http-header-size: 10240
|
|
|
|
|
spring:
|
|
|
|
|
# 配置数据源
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2024-11-16 17:18:35 +08:00
|
|
|
# url: jdbc:mysql://192.168.0.14:1109/gzimtcs?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
|
|
|
# username: root
|
|
|
|
|
# password: zhzadmin@gzimtcs14!
|
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/gzimtcs?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false
|
|
|
|
|
username: mroot
|
|
|
|
|
password: bonus@admin123
|
2024-11-06 18:12:07 +08:00
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
2024-11-16 15:34:40 +08:00
|
|
|
# redis:
|
|
|
|
|
# host: 192.168.0.14
|
|
|
|
|
# port: 2003
|
|
|
|
|
# password: Fyzbns@Redis123!
|
|
|
|
|
# database: 7
|
|
|
|
|
redis:
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 6379
|
|
|
|
|
database: 7
|
2024-11-06 18:12:07 +08:00
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: -1
|
|
|
|
|
max-request-size: -1
|
|
|
|
|
#mapper配置
|
|
|
|
|
mybatis:
|
|
|
|
|
mapper-locations: classpath: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
|
|
|
|
|
|
2024-11-08 13:23:53 +08:00
|
|
|
file:
|
|
|
|
|
upload_path:
|
2024-11-13 13:23:42 +08:00
|
|
|
windows: D://files/zg_gqj
|
|
|
|
|
linux: /home/zg_gqj/files
|
2024-11-08 13:23:53 +08:00
|
|
|
|
|
|
|
|
|
2024-11-06 18:12:07 +08:00
|
|
|
|
|
|
|
|
jwt:
|
|
|
|
|
secret: your_secret_key
|
|
|
|
|
expiration: 86400
|
|
|
|
|
|