From 44561fe43b90a2e6ab205edd813c6c58e2db4d0e Mon Sep 17 00:00:00 2001
From: cxh1231 <363538880@qq.com>
Date: Thu, 13 Jan 2022 16:41:31 +0800
Subject: [PATCH] =?UTF-8?q?:white=5Fcheck=5Fmark:=20Mybatis-Plus-Generator?=
=?UTF-8?q?(3.5.1+)=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=99=A8=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=E9=9B=86=E6=88=90.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
study-mybatis-plus-fast-generator/pom.xml | 4 +--
.../src/main/resources/application.properties | 1 -
.../src/main/resources/application.yml | 25 +++++++++++++++++++
3 files changed, 27 insertions(+), 3 deletions(-)
delete mode 100644 study-mybatis-plus-fast-generator/src/main/resources/application.properties
create mode 100644 study-mybatis-plus-fast-generator/src/main/resources/application.yml
diff --git a/study-mybatis-plus-fast-generator/pom.xml b/study-mybatis-plus-fast-generator/pom.xml
index 7a95d02..5977e67 100644
--- a/study-mybatis-plus-fast-generator/pom.xml
+++ b/study-mybatis-plus-fast-generator/pom.xml
@@ -25,7 +25,7 @@
com.baomidou
mybatis-plus
- 3.4.3.2
+ 3.4.3.4
@@ -39,7 +39,7 @@
com.alibaba
druid-spring-boot-starter
- 1.2.6
+ 1.2.8
diff --git a/study-mybatis-plus-fast-generator/src/main/resources/application.properties b/study-mybatis-plus-fast-generator/src/main/resources/application.properties
deleted file mode 100644
index 8b13789..0000000
--- a/study-mybatis-plus-fast-generator/src/main/resources/application.properties
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/study-mybatis-plus-fast-generator/src/main/resources/application.yml b/study-mybatis-plus-fast-generator/src/main/resources/application.yml
new file mode 100644
index 0000000..69b5dd5
--- /dev/null
+++ b/study-mybatis-plus-fast-generator/src/main/resources/application.yml
@@ -0,0 +1,25 @@
+
+# Spring相关配置
+spring:
+ # 数据库链接配置
+ datasource:
+ name: druidDataSource
+ type: com.alibaba.druid.pool.DruidDataSource
+ # 链接地址,这里需要修改自己的数据库IP和数据库名
+ url: jdbc:mysql://localhost:3306/db_study_mp?useUnicode=true&serverTimezone=UTC&useSSL=false&characterEncoding=utf8
+ username: chen
+ password: 123456
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ druid:
+ # 链接地址,这里需要修改自己的数据库IP和数据库名
+ # url: jdbc:mysql://127.0.0.1:3306/db_excite_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
+ # username: chen # 数据库用户名
+ # password: 123456 # 数据库密码
+ initial-size: 1
+ min-idle: 1
+ max-active: 20
+ test-on-borrow: true
+ # 连接驱动类名
+ # MySQL 8.x: com.mysql.cj.jdbc.Driver
+ # MySQL 5.x: com.mysql.jdbc.Driver
+ # driver-class-name: com.mysql.cj.jdbc.Driver
\ No newline at end of file