This commit is contained in:
高铁
2019-07-14 13:21:37 +08:00
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -5,19 +5,19 @@
Druid Spring Boot Starter 用于帮助你在Spring Boot项目中轻松集成Druid数据库连接池和监控。
## 如何使用
1. 在 Spring Boot 项目中加入```druid-spring-boot-starter```依赖
1. 在 Spring Boot 项目中加入```druid-spring-boot-starter```依赖 ([点击查询最新版本](https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter))
```Maven```
```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.10</version>
<version>1.1.17</version>
</dependency>
```
```Gradle```
```xml
compile 'com.alibaba:druid-spring-boot-starter:1.1.10'
compile 'com.alibaba:druid-spring-boot-starter:1.1.17'
```
2. 添加配置
+3 -3
View File
@@ -5,19 +5,19 @@
Spring Boot with Druid support, help you simplify Druid config in Spring Boot.
## Usage
1. Add the ```druid-spring-boot-starter``` dependency in Spring Boot project.
1. Add the ```druid-spring-boot-starter``` dependency in Spring Boot project ([click get last version](https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter)).
```Maven```
```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.10</version>
<version>1.1.17</version>
</dependency>
```
```Gradle```
```xml
compile 'com.alibaba:druid-spring-boot-starter:1.1.10'
compile 'com.alibaba:druid-spring-boot-starter:1.1.17'
```
2. Add configuration properties.
```xml