Skip to content

Commit 098ca95

Browse files
committed
V部落 SpringBoot后端
1 parent c907059 commit 098ca95

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

blogserver/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
<groupId>org.slf4j</groupId>
7676
<artifactId>slf4j-log4j12</artifactId>
7777
</dependency>
78+
<dependency>
79+
<groupId>com.alibaba</groupId>
80+
<artifactId>druid</artifactId>
81+
<version>1.0.29</version>
82+
</dependency>
7883
</dependencies>
7984

8085
<build>

blogserver/src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
12
spring.datasource.url=jdbc:mysql:///vueblog?useUnicode=true&characterEncoding=UTF-8
23
spring.datasource.username=username
34
spring.datasource.password=password

0 commit comments

Comments
 (0)