From 1a396962ff11e90c9b45b047d288218bcef2bf93 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 26 Nov 2021 16:54:15 +0800 Subject: [PATCH] fix --- src/main/resources/application.yml | 34 ++++++++++++++++++++++------------ 1 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 61560cd..be2fd02 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -7,7 +7,7 @@ profiles: active: dev datasource: - url: jdbc:mysql://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://120.27.238.55:3306/db_fish?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 driver-class-name: com.mysql.jdbc.Driver @@ -48,13 +48,13 @@ ## redis配置 redis: ## Redis数据库索引(默认为0) - database: 1 + database: 5 ## Redis服务器地址 - host: 47.114.114.219 + host: 120.27.238.55 ## Redis服务器连接端口 port: 6379 ## Redis服务器连接密码(默认为空) - password: biyi123 + password: xcong123 jedis: pool: ## 连接池最大连接数(使用负值表示没有限制) @@ -72,10 +72,10 @@ ## 连接超时时间(毫秒) timeout: 30000 rabbitmq: - host: 120.27.238.55 + host: 154.91.195.155 port: 5672 - username: ct_rabbit - password: 123456 + username: abc_user + password: abc123 publisher-confirm-type: correlated @@ -93,12 +93,22 @@ app: debug: true redis_expire: 3000 - # k线更新任务控制 kline-update-job: false - #最新价任务控制 - newest-price-update-job: true - #其他任务控制 - other-job: true + newest-price-update-job: false + exchange-trade: false + day-line: false + other-job: false + loop-job: false + rabbit-consumer: false + block-job: false + fish-hit: true + +aliyun: + oss: + end-point: https://oss-cn-hangzhou.aliyuncs.com + bucket-name: https://excoin.oss-cn-hangzhou.aliyuncs.com + access-key-id: LTAI4GBuydqbJ5bTsDP97Lpd + access-key-secret: vbCjQtPxABWjqtUlQfzjlA0qAY96fh rsa: public_key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCf8UFZK54AiK4PRu7tNd+Z8qZ77o/QXCnk25DRmygVpOEu5mGNSAvfnWmKp2pEV2RljeXq3Rid/+LQkonaebMJeXKSF0yxL/VgyeT8JaQ5gNbOrdfdlc+mFkXJyzyJt8YkvApEdPRNSU2ENBn7mgRfD0BYPM4vZ6/rv+de38FJwIDAQAB -- Gitblit v1.9.1