From 1fb82483c58e4954941a4ffa028c299ffe2cd712 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 02 Jun 2026 10:50:57 +0800
Subject: [PATCH] fix(gate): 修复网格交易数量计算和配置参数

---
 src/main/resources/application.yml |   54 ++++++------------------------------------------------
 1 files changed, 6 insertions(+), 48 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 7e0711d..d6cdaf2 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -4,12 +4,14 @@
     context-path: /
 
 spring:
+  OKEX:
+    baseurl: https://www.okex.com
   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://120.27.238.55:3406/db_base?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:
@@ -45,50 +47,6 @@
   ## 国际化配置
   messages:
     basename: i18n/messages
-  ## redis配置
-  redis:
-    ## Redis数据库索引(默认为0)
-    database: 1
-    ## Redis服务器地址
-    host: 47.114.114.219
-    ## Redis服务器连接端口
-    port: 6379
-    ## Redis服务器连接密码(默认为空)
-    password: biyi123
-    jedis:
-      pool:
-        ## 连接池最大连接数(使用负值表示没有限制)
-        #spring.redis.pool.max-active=8
-        max-active: 300
-        ## 连接池最大阻塞等待时间(使用负值表示没有限制)
-        #spring.redis.pool.max-wait=-1
-        max-wait: -1
-        ## 连接池中的最大空闲连接
-        #spring.redis.pool.max-idle=8
-        max-idle: 100
-        ## 连接池中的最小空闲连接
-        #spring.redis.pool.min-idle=0
-        min-idle: 8
-    ## 连接超时时间(毫秒)
-    timeout: 30000
-  rabbitmq:
-    host: 120.27.238.55
-    port: 5672
-    username: ct_rabbit
-    password: 123456
-    publisher-confirm-type: correlated
-
-
-#custom:
-#  rabbitmq:
-#    host: 120.27.238.55
-#    port: 5672
-#    username: ct_rabbit
-#    password: 123456
-
-mybatis-plus:
-  mapper-locations: classpath:mapper/**/*.xml
-
 
 app:
   debug: false

--
Gitblit v1.9.1