From 01eae19a4870033e879a3faa6749eece92926cab Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 26 一月 2024 17:10:55 +0800
Subject: [PATCH] 1. 新增多项yml配置文件 2. 新增导入静安监测数据功能模块(未完成)

---
 src/main/resources/application.yml |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index be99472..e105607 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,13 +1,6 @@
 spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-#    url: jdbc:mysql://192.168.0.200:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-#    username: root
-#    password: cn.FLIGHTFEATHER
-
-    url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-    username: dronemonitor
-    password: dronemonitor_hackxrnomxm
     hikari:
       maximum-pool-size: 500
       minimum-idle: 20
@@ -16,6 +9,11 @@
   jmx:
     enabled: false
 
+  #鏂囦欢涓婁紶闄愬埗
+  servlet:
+    multipart:
+      max-file-size: 25MB
+      max-request-size: 100MB
 
 
 mybatis:
@@ -35,4 +33,4 @@
     helperDialect: mysql
     reasonable: true
     supportMethodsArguments: true
-    params: count=countSql
+    params: count=countSql
\ No newline at end of file

--
Gitblit v1.9.3