From 9a56aeee9962819caeef057a59c88194f7907c81 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 11 七月 2022 16:08:38 +0800
Subject: [PATCH] 添加swagger

---
 src/main/resources/application.properties |    2 +-
 pom.xml                                   |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8b641cf..13ee6d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,16 @@
             <artifactId>minio</artifactId>
             <version>7.1.0</version>
         </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>3.0.0</version>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+            <version>3.0.0</version>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index a77f810..8cc6e63 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -3,7 +3,7 @@
 
 ###  datasource
 #test
-spring.datasource.url=jdbc:mysql://140.143.152.226:3306/job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
+spring.datasource.url=jdbc:mysql://140.143.1.25:3306/job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
 spring.datasource.username=root
 spring.datasource.password=Y$c$l@1202!aa
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

--
Gitblit v1.8.0