贵阳禁毒-检验鉴定系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
3.0 KiB

logging:
level:
digital.laboratory.platform.camera.mapper: debug
server:
port: 5240
mybatis:
mapper-locations: classpath*:mapper/*.xml
spring:
application:
name: @artifactId@
cloud:
nacos:
discovery:
server-addr: ${NACOS_HOST:dlp-nacos}:${NACOS_PORT:8848}
config:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
file-extension: yml
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
profiles:
active: @profiles.active@
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: dlp
password: 7990016
url: jdbc:mysql://dlp-mysql:3306/dlp_inspection_system?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
# hikari:
# # 指定 Hikari 连接池的最大连接数为 30。这个配置项表示连接池中允许的最大连接数,超过这个数量的连接请求将被阻塞
# maximum-pool-size: 30
# data-source-properties:
# # 开启 MySQL JDBC 驱动的批处理功能。设置为 true 可以让 MySQL 驱动在批量操作时使用 rewriteBatchedStatements 特性,提高批量插入的效率。
# rewriteBatchedStatements: true
# # 启用服务器端预处理语句。设置为 true 时,将使用 MySQL 服务器端的预处理语句功能,可提高性能。
# useServerPrepStmts: true
# # 启用预处理语句缓存。设置为 true 时,将启用预处理语句缓存功能,可以提高 SQL 语句的执行效率。
# cachePrepStmts: true
# # 使用本地会话状态。设置为 true 时,将使用本地会话状态来执行 SQL 语句,可能会提高性能。
# useLocalSessionState: true
servlet:
multipart:
# 默认最大上传文件大小为1M, 单个文件大小
max-file-size: 20MB
# 默认最大请求大小为10M, 总上传的数据大小
max-request-size: 50MB
location: /tmp/upload
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
oss:
endpoint: http://dlp-minio:9000
accessKey: dlp
secretKey: 87990016
bucket-name: dlpfiles
# 贵阳禁毒情报平台推送数据配置
gyjd:
labscare:
api:
host: http://lc2203.cdn.labscare.com
entrust-letter: /thirdparty/report-generate/jianDingWeiTuoShuReport/v1
confirm-letter: /thirdparty/report-generate/jianDingShiXiangQueRenShuReport/v1
biology-qualitative-record: /thirdparty/report-generate/shenWuJianCaiDingXingJiLuReport/v1
non-infrared-general-qualitative-record: /thirdparty/report-generate/puTongJianCaiDingXingJiLuFeiReport/v1
infrared-general-qualitative-record: /thirdparty/report-generate/puTongJianCaiDingXingJiLuReport/v1