Helius
2020-07-06 4ee481c3733521402ae822bc292f228eb54ae7eb
modify
6 files modified
68 ■■■■ changed files
src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java 4 ●●●● patch | view | raw | blame | history
src/main/resources/application-app.yml 20 ●●●● patch | view | raw | blame | history
src/main/resources/application-dayline.yml 12 ●●●● patch | view | raw | blame | history
src/main/resources/application-loop.yml 18 ●●●● patch | view | raw | blame | history
src/main/resources/application-newprice.yml 12 ●●●● patch | view | raw | blame | history
src/main/resources/logback-spring.xml 2 ●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/configurations/RabbitMqConfig.java
@@ -21,13 +21,13 @@
@Configuration
public class RabbitMqConfig {
    public static final String EXCHANGE_ONE = "excoin-exchange-one";
    public static final String EXCHANGE_ONE = "biue-exchange-one";
    public static final String QUEUE_TEST = "test-queue";
    public static final String ROUTING_KEY_TEST = "test-routingKey";
    public static final String EXCHANGE_A = "biyi-exchange-A";
    public static final String EXCHANGE_A = "biue-exchange-A";
    // 开多止盈队列
src/main/resources/application-app.yml
@@ -48,7 +48,7 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 1
    database: 2
    ## Redis服务器地址
    host: 47.114.114.219
    ## Redis服务器连接端口
@@ -72,10 +72,10 @@
    ## 连接超时时间(毫秒)
    timeout: 30000
  rabbitmq:
    host: 120.27.238.55
    host: 120.55.86.146
    port: 5672
    username: ct_rabbit
    password: 123456
    username: biyict
    password: biyict123
    publisher-confirm-type: correlated
@@ -94,13 +94,13 @@
  debug: false
  redis_expire: 3000
  kline-update-job: false
  newest-price-update-job: true
  newest-price-update-job: false
  #日线 该任务不能与最新价处于同一个服务器
  day-line: true
  other-job: true
  loop-job: true
  rabbit-consumer: true
  block-job: true
  day-line: false
  other-job: false
  loop-job: false
  rabbit-consumer: false
  block-job: false
aliyun:
  oss:
src/main/resources/application-dayline.yml
@@ -48,7 +48,7 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 1
    database: 2
    ## Redis服务器地址
    host: 47.114.114.219
    ## Redis服务器连接端口
@@ -72,10 +72,10 @@
    ## 连接超时时间(毫秒)
    timeout: 30000
  rabbitmq:
    host: 120.27.238.55
    host: 120.55.86.146
    port: 5672
    username: ct_rabbit
    password: 123456
    username: biyict
    password: biyict123
    publisher-confirm-type: correlated
@@ -94,9 +94,9 @@
  debug: false
  redis_expire: 3000
  kline-update-job: false
  newest-price-update-job: true
  newest-price-update-job: false
  #日线 该任务不能与最新价处于同一个服务器
  day-line: false
  day-line: true
  other-job: false
  loop-job: false
  rabbit-consumer: true
src/main/resources/application-loop.yml
@@ -48,7 +48,7 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 1
    database: 2
    ## Redis服务器地址
    host: 47.114.114.219
    ## Redis服务器连接端口
@@ -72,10 +72,10 @@
    ## 连接超时时间(毫秒)
    timeout: 30000
  rabbitmq:
    host: 120.27.238.55
    host: 120.55.86.146
    port: 5672
    username: ct_rabbit
    password: 123456
    username: biyict
    password: biyict123
    publisher-confirm-type: correlated
@@ -94,13 +94,13 @@
  debug: false
  redis_expire: 3000
  kline-update-job: false
  newest-price-update-job: true
  newest-price-update-job: false
  #日线 该任务不能与最新价处于同一个服务器
  day-line: false
  other-job: false
  loop-job: false
  rabbit-consumer: true
  block-job: false
  other-job: true
  loop-job: true
  rabbit-consumer: false
  block-job: true
aliyun:
  oss:
src/main/resources/application-newprice.yml
@@ -48,7 +48,7 @@
  ## redis配置
  redis:
    ## Redis数据库索引(默认为0)
    database: 1
    database: 2
    ## Redis服务器地址
    host: 47.114.114.219
    ## Redis服务器连接端口
@@ -72,10 +72,10 @@
    ## 连接超时时间(毫秒)
    timeout: 30000
  rabbitmq:
    host: 120.27.238.55
    host: 120.55.86.146
    port: 5672
    username: ct_rabbit
    password: 123456
    username: biyict
    password: biyict123
    publisher-confirm-type: correlated
@@ -94,12 +94,12 @@
  debug: false
  redis_expire: 3000
  kline-update-job: false
  newest-price-update-job: false
  newest-price-update-job: true
  #日线 该任务不能与最新价处于同一个服务器
  day-line: false
  other-job: false
  loop-job: false
  rabbit-consumer: false
  rabbit-consumer: true
  block-job: false
aliyun:
src/main/resources/logback-spring.xml
@@ -2,7 +2,7 @@
<configuration>
    <contextName>logback</contextName>
    <!-- name的值是变量的名称,value的值时变量定义的值。通过定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
    <property name="log.path" value="logs/excoin" />
    <property name="log.path" value="logs/biue" />
<!--    <springProperty scope="context" name="log.path" source="logging.file.path"/>-->
    <!-- 彩色日志 -->