Helius
2020-10-14 45c6e137623e5ef3d7e58be221af908475e0fc65
modify
2 files modified
26 ■■■■ changed files
src/main/java/com/xcong/excoin/utils/CoinTypeConvert.java 4 ●●●● patch | view | raw | blame | history
src/main/resources/application.yml 22 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/utils/CoinTypeConvert.java
@@ -22,7 +22,7 @@
                return "EOS/USDT";
            case "etcusdt":
                return "ETC/USDT";
            case "rocusdt":
            case "rfncusdt":
                return "RFNC/USDT";
            default:
                return null;
@@ -34,7 +34,7 @@
            case "BTC/USDT":
                return "btcusdt";
            case "RFNC/USDT":
                return "rocusdt";
                return "rfncusdt";
            default:
                return null;
        }
src/main/resources/application.yml
@@ -5,11 +5,11 @@
spring:
  profiles:
    active: prodapp
    active: dev
  datasource:
    url: jdbc:mysql://rm-bp1i2g5rg5dubo9s40o.mysql.rds.aliyuncs.com:3306/db_roc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
    username: roc_user
    password: roc123pasd!@
    url: jdbc:mysql://180.215.221.145:3306/db_pilot?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
    username: pilot
    password: pilot123!@#
    driver-class-name: com.mysql.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
@@ -48,13 +48,13 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 1
    database: 0
    ## Redis服务器地址
    host: 47.114.114.219
    host: 180.215.221.145
    ## Redis服务器连接端口
    port: 6379
    ## Redis服务器连接密码(默认为空)
    password: biyi123
    password: pilot123!@#
    jedis:
      pool:
        ## 连接池最大连接数(使用负值表示没有限制)
@@ -72,10 +72,10 @@
    ## 连接超时时间(毫秒)
    timeout: 30000
  rabbitmq:
    host: 47.114.114.219
    host: 27.124.4.94
    port: 5672
    username: roc_user
    password: roc123456
    username: pilot
    password: pilot123
    publisher-confirm-type: correlated
@@ -95,7 +95,7 @@
  redis_expire: 3000
  kline-update-job: false
  newest-price-update-job: false
  exchange-trade: false
  exchange-trade: true
  day-line: false
  other-job: false
  loop-job: false