2 Commits e32e49b734 ... 5d9a07465f

Author SHA1 Message Date
  wangq 5d9a07465f 调整配置文件 2 years ago
  wangq 47da44a12a 修复安全漏洞 2 years ago
2 changed files with 9 additions and 7 deletions
  1. 1 0
      pom.xml
  2. 8 7
      src/main/resources/application-dev.yml

+ 1 - 0
pom.xml

@@ -26,6 +26,7 @@
         <spring.boot.version>2.1.12.RELEASE</spring.boot.version>
 
         <java.version>1.8</java.version>
+        <jackson.version>2.11.0</jackson.version>
         <maven.plugin.version>3.8.1</maven.plugin.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

+ 8 - 7
src/main/resources/application-dev.yml

@@ -6,18 +6,19 @@ spring:
 #    url: jdbc:mysql://10.82.28.36:3306/jiaotongju?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
 #    username: root
 #    password: Cj/Xi=wO6U)E
-    #本地
-    url: jdbc:mysql://localhost:3306/bladex_boot6?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
-    username: root
-    password: root
-    #1081内部测试版服务器
+    #平江服务器
 #    url: jdbc:mysql://localhost:3306/bladex_boot_demo?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
 #    username: dever
 #    password: 123456
-    #1080-对外版服务器
-#    url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+    #通用服务器
+#    url: jdbc:mysql://localhost:3306/ipole_web?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
 #    username: dever
 #    password: 123456
+    #本地
+    url: jdbc:mysql://localhost:3306/ipole_web?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
+    username: root
+    password: root
+
     # PostgreSQL
     #url: jdbc:postgresql://127.0.0.1:5432/bladex_flow
     #username: postgres