瀏覽代碼

material sql 切线上 ---------还原

zhaoxian 1 年之前
父節點
當前提交
2b268ef4d1

+ 16 - 20
jeecg-boot-material-view/src/main/resources/application-dev.yml

@@ -11,10 +11,10 @@ server:
     min-response-size: 1024
     mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
 management:
-  endpoints:
-    web:
-      exposure:
-        include: metrics,httptrace
+ endpoints:
+  web:
+   exposure:
+    include: metrics,httptrace
 spring:
   cloud:
     nacos:
@@ -22,9 +22,9 @@ spring:
         server-addr: 127.0.0.1:8848
         service: jeecg-cloud-material
   servlet:
-    multipart:
-      max-file-size: 10MB
-      max-request-size: 10MB
+     multipart:
+        max-file-size: 10MB
+        max-request-size: 10MB
   mail:
     host: smtp.163.com
     username: jeecgos@163.com
@@ -38,8 +38,8 @@ spring:
             required: true
   #json 时间戳统一转换
   jackson:
-    date-format: yyyy-MM-dd HH:mm:ss
-    time-zone: GMT+8
+    date-format:   yyyy-MM-dd HH:mm:ss
+    time-zone:   GMT+8
   jpa:
     open-in-view: false
   activiti:
@@ -106,18 +106,14 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          #          url: jdbc:mysql://103.46.170.107:3390/application?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
-          #          username: hcst
-          #          password: hcst@2021
+#          url: jdbc:mysql://103.46.170.107:3390/application?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
+#          username: hcst
+#          password: hcst@2021
           driver-class-name: com.mysql.jdbc.Driver
           # 多数据源配置
           #multi-datasource1:
-          #------------------------内网
-          #          url: jdbc:mysql://192.168.0.184:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          #          username: hcst
-          #          password: hcst@2021
-          url: jdbc:mysql://139.186.27.96:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: data
+          url: jdbc:mysql://192.168.0.184:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: hcst
           password: hcst@2021
           #driver-class-name: com.mysql.cj.jdbc.Driver
   #redis 配置
@@ -146,11 +142,11 @@ mybatis-plus:
       table-underline: true
   configuration:
     # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
-    #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     # 返回类型为Map,显示null对应的字段
     call-setters-on-nulls: true
 #jeecg专用配置
-jeecg:
+jeecg :
   oss:
     secretKey:
     accessKey:

+ 2 - 5
jeecg-boot-material-view/src/main/resources/application-prod.yml

@@ -106,11 +106,8 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-#          url: jdbc:mysql://103.46.170.107:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
-#          username: hcst
-#          password: hcst@2021
-          url: jdbc:mysql://139.186.27.96:3390/jeecg-boot?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: data
+          url: jdbc:mysql://103.46.170.107:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
+          username: hcst
           password: hcst@2021
           driver-class-name: com.mysql.jdbc.Driver
   #redis 配置