Explorar el Código

修复安全漏洞

wangq hace 2 años
padre
commit
47da44a12a
Se han modificado 2 ficheros con 7 adiciones y 6 borrados
  1. 1 0
      pom.xml
  2. 6 6
      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>

+ 6 - 6
src/main/resources/application-dev.yml

@@ -7,13 +7,13 @@ spring:
 #    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
+#    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
+    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
     #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
 #    username: dever