src/main/java/com/xcong/excoin/quartz/job/UsdtErc20InitJob.java | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application-test.yml | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application.yml | ●●●●● patch | view | raw | blame | history |
src/main/java/com/xcong/excoin/quartz/job/UsdtErc20InitJob.java
@@ -23,9 +23,9 @@ @Resource private UsdtErc20UpdateService usdtErc20UpdateService; @PostConstruct public void initCoinTrade() { System.out.println("开启USDT同步"); usdtErc20UpdateService.updateUsdt(); } // @PostConstruct // public void initCoinTrade() { // System.out.println("开启USDT同步"); // usdtErc20UpdateService.updateUsdt(); // } } src/main/resources/application-test.yml
@@ -7,9 +7,9 @@ profiles: active: dev datasource: url: jdbc:mysql://124.70.222.34:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: db_hibit password: hibit123!@# url: jdbc:mysql://120.27.238.55:3406/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: @@ -52,9 +52,9 @@ ## Redis服务器地址 host: 120.27.238.55 ## Redis服务器连接端口 port: 6379 port: 6479 ## Redis服务器连接密码(默认为空) password: xcong123 password: d3y6dsdl;f.327 jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) src/main/resources/application.yml
@@ -5,14 +5,14 @@ spring: profiles: active: dev active: test datasource: # url: jdbc:mysql://rm-bp151tw8er79ig9kb5o.mysql.rds.aliyuncs.com:3306/db_biue?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 # username: ctcoin_data # password: ctcoin_123 url: jdbc:mysql://124.70.222.34:3306/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: db_hibit password: hibit123!@# url: jdbc:mysql://120.27.238.55:3406/db_hibit?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource druid: @@ -51,13 +51,13 @@ ## redis配置 redis: ## Redis数据库索引(默认为0) database: 0 database: 10 ## Redis服务器地址 host: 121.37.162.173 host: 120.27.238.55 ## Redis服务器连接端口 port: 6379 port: 6479 ## Redis服务器连接密码(默认为空) password: d32ncxe@i3#!dV password: d3y6dsdl;f.327 jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -75,10 +75,10 @@ ## 连接超时时间(毫秒) timeout: 30000 rabbitmq: host: 121.37.162.173 host: 120.27.238.55 port: 5672 username: hibit password: hibit123 username: ct_rabbit password: 123456 publisher-confirm-type: correlated @@ -97,9 +97,9 @@ debug: true redis_expire: 3000 # k线更新任务控制 kline-update-job: false kline-update-job: true #最新价任务控制 newest-price-update-job: false newest-price-update-job: true #日线 该任务不能与最新价处于同一个服务器 day-line: false #其他任务控制