fxkh-txl-service/src/main/resources/application.yml

86 lines
2.2 KiB
YAML
Raw Normal View History

2022-07-22 10:22:03 +08:00
server:
2024-05-09 17:47:09 +08:00
port: 20020
servlet:
context-path: /fxkhtxl
2024-05-31 09:20:03 +08:00
session:
# 配置会话超时
timeout: 120s
2022-07-22 10:22:03 +08:00
spring:
#数据库配置
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: dm.jdbc.driver.DmDriver
2024-06-17 17:51:52 +08:00
# url: jdbc:dm://local.gunshiiot.com:5236?schema=FXKH_TXL
# username: SYSDBA
# password: SYSDBA001
url: jdbc:dm://10.42.6.247:5236?schema=FXKH_TXL
username: SHZH
password: Shzh_890
2022-07-22 10:22:03 +08:00
druid:
initialSize: 5
minIdle: 5
maxActive: 20
maxWait: 60000
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT1FROMDUAL
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
filters: stat,wall,log4j #wall表示排除防火请
logSlowSql: true
2024-06-17 11:17:33 +08:00
2022-07-22 10:22:03 +08:00
#jpa配置
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.DmDialect
# Redis
redis:
2023-09-13 17:15:39 +08:00
database: 5
host: 10.42.6.75
# host: 127.0.0.1
2022-07-22 10:22:03 +08:00
port: 6379
# password:
password: Whdc_890
2022-07-22 10:22:03 +08:00
2022-07-26 21:40:58 +08:00
servlet:
multipart:
2024-05-09 17:47:09 +08:00
max-file-size: 1100MB
max-request-size: 1100MB
2022-07-26 21:40:58 +08:00
2022-07-22 10:22:03 +08:00
knife4j:
enable: true
setting:
enableFooter: false
enableFooterCustom: true
footerCustomContent: Copyright 2018-[湖北纬皓端成科技有限公司](http://www.wavehorizon.cn)
documents: # 文档配置,可配置多个分组
- group: doc-knife4j-1.0.0
name: MarkDown文档
locations: classpath:markdown/*
- group: v1.0
name: v1.0
logging:
level.org.springframework.boot.autoconfigure: error #spring的自动装配日志只打error否则debug输出的会打印很多自动装配的log信息到控制台
config: classpath:logback-spring.xml
2023-09-13 17:15:39 +08:00
mybatis-plus:
global-config:
db-config:
update-strategy: not_empty
insert-strategy: not_empty
wx:
miniapp:
configs:
appid: wxb9b07668d1ba20fe
secret: 99a1b89ac30e28bcc9bba8be973027f4
2024-06-17 17:51:52 +08:00
getGroupWarning: http://223.75.53.141:8000/shzh/met/zyqxfw/api/warning/getGroupWarning
#getGroupWarning: http://127.0.0.1:20000/shzh/met/zyqxfw/api/warning/getGroupWarning