From 1f356649ce536b19b903d6f3a533983d4b8222bc Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 25 十月 2019 18:16:39 +0800
Subject: [PATCH] 新增接口: 1. 获取所有设备的最新一条数据 新增数据库表: 1. 车辆信息表

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

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 8b13789..00493e3 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1 +1,25 @@
+spring:
+  datasource:
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://47.100.191.150:3306/obd?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
+    username: obd
+    password: obd2019
 
+mybatis:
+  type-aliases-package: com.flightfeather.obd.domain.entity
+  mapper-locations: classpath*:mapper/*.xml
+
+
+## 閫氱敤 Mapper 閰嶇疆
+#mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑
+mapper:
+  mappers: com.flightfeather.obd.domain.MyMapper
+  not-empty: false
+  identity: MYSQL
+
+#鏁版嵁搴撳垎椤甸厤缃�
+pagehelper:
+    helperDialect: mysql
+    reasonable: true
+    supportMethodsArguments: true
+    params: count=countSql
\ No newline at end of file

--
Gitblit v1.9.3