Browse Source

切101数据库

zhaoxian 1 year ago
parent
commit
6b95b9145f

+ 6 - 6
job-bytedance/src/main/resources/application.yml

@@ -20,8 +20,8 @@ spring:
       max-request-size: -1
       max-request-size: -1
   #json 时间戳统一转换
   #json 时间戳统一转换
   jackson:
   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
   aop:
   aop:
     proxy-target-class: true
     proxy-target-class: true
   #配置freemarker
   #配置freemarker
@@ -80,9 +80,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
       datasource:
         master:
         master:
-          url: jdbc:mysql://192.168.0.184:3390/media_api?characterEncoding=UTF-8&useUnicode=true
+          url: jdbc:mysql://192.168.0.101:3390/media_api?characterEncoding=UTF-8&useUnicode=true
           username: hcst
           username: hcst
-          password: hcst@2021
+          password: hcst@2024
           driver-class-name: com.mysql.jdbc.Driver
           driver-class-name: com.mysql.jdbc.Driver
 
 
   # redis 配置
   # redis 配置
@@ -121,7 +121,7 @@ mybatis-plus:
       id-type: 4
       id-type: 4
       # 默认数据库表下划线命名
       # 默认数据库表下划线命名
       table-underline: true
       table-underline: true
-  #configuration:
+      #configuration:
       # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
       # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
     #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 
@@ -135,7 +135,7 @@ xxl:
     accessToken:
     accessToken:
     executor:
     executor:
       appname: module-job-bytedance
       appname: module-job-bytedance
-#      appname: module-job-test
+      #      appname: module-job-test
       port: 9998
       port: 9998
       ip:
       ip:
       logpath: /data/applogs/xxl-job/jobhandler
       logpath: /data/applogs/xxl-job/jobhandler

+ 2 - 2
job-bytedance/src/main/resources/generatorConfig.xml

@@ -11,8 +11,8 @@
         </commentGenerator>
         </commentGenerator>
         <!-- 数据库连接 -->
         <!-- 数据库连接 -->
         <jdbcConnection driverClass="com.mysql.jdbc.Driver"
         <jdbcConnection driverClass="com.mysql.jdbc.Driver"
-                        connectionURL="jdbc:mysql://192.168.0.184:3390/media_api?characterEncoding=UTF-8"
-                        userId="hcst" password="hcst@2021" />
+                        connectionURL="jdbc:mysql://192.168.0.101:3390/media_api?characterEncoding=UTF-8"
+                        userId="hcst" password="hcst@2024" />
 
 
         <!-- 生成的包名和工程名 -->
         <!-- 生成的包名和工程名 -->
         <javaModelGenerator targetPackage="cn.com.ctop.job.bytedance.demo"
         <javaModelGenerator targetPackage="cn.com.ctop.job.bytedance.demo"