From 070005ffba3ce5cb80e27448bca668aa25edee62 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 11 六月 2021 17:02:51 +0800
Subject: [PATCH] 1. 新增走航任务增删改查相关功能 2. 新增无人船数据excel导入功能 3. 优化多参数接收逻辑,解决单个数据头导致数据包结构判断错误问题

---
 src/main/resources/application.yml |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 8b13789..9b2cea4 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1 +1,43 @@
+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
+      idle-timeout: 60000
+      connection-timeout: 60000
+  jmx:
+    enabled: false
+
+  #鏂囦欢涓婁紶闄愬埗
+  servlet:
+    multipart:
+      max-file-size: 25MB
+      max-request-size: 100MB
+
+
+mybatis:
+  type-aliases-package: com.flightfeather.uav.domain.entity
+  mapper-locations: classpath*:mapper/*.xml
+
+
+## 閫氱敤 Mapper 閰嶇疆
+#mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑
+mapper:
+  mappers: com.flightfeather.uav.domain.MyMapper
+  not-empty: false
+  identity: MYSQL
+
+#鏁版嵁搴撳垎椤甸厤缃�
+pagehelper:
+    helperDialect: mysql
+    reasonable: true
+    supportMethodsArguments: true
+    params: count=countSql

--
Gitblit v1.9.3