From cc8c06093b33f54b8fcdb8a18ff6ddebcbd49702 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 27 Jan 2026 17:56:33 +0800
Subject: [PATCH] config(database): 更新开发环境配置为本地服务
---
src/main/resources/application-app.yml | 33 +++++++++++++++++----------------
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/src/main/resources/application-app.yml b/src/main/resources/application-app.yml
index 45a0feb..c17156c 100644
--- a/src/main/resources/application-app.yml
+++ b/src/main/resources/application-app.yml
@@ -7,10 +7,10 @@
profiles:
active: dev
datasource:
- url: jdbc:mysql://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
- username: ct_test
- password: 123456
- driver-class-name: com.mysql.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/db_exchange?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ username: db_exchange
+ password: db_exchange20260123!@#
+ driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: ${spring_datasource_druid_initial_size:10}
@@ -48,13 +48,13 @@
## redis配置
redis:
## Redis数据库索引(默认为0)
- database: 1
+ database: 0
## Redis服务器地址
- host: 47.114.114.219
+ host: 127.0.0.1
## Redis服务器连接端口
port: 6379
## Redis服务器连接密码(默认为空)
- password: biyi123
+ password: exchange1!qaz2@WSX
jedis:
pool:
## 连接池最大连接数(使用负值表示没有限制)
@@ -72,10 +72,10 @@
## 连接超时时间(毫秒)
timeout: 30000
rabbitmq:
- host: 120.27.238.55
+ host: 127.0.0.1
port: 5672
- username: ct_rabbit
- password: 123456
+ username: exchange20260124
+ password: exchange20260124
publisher-confirm-type: correlated
@@ -91,16 +91,17 @@
app:
- debug: false
+ debug: true
redis_expire: 3000
- kline-update-job: false
- newest-price-update-job: true
+ kline-update-job: true
+ newest-price-update-job: false
#日线 该任务不能与最新价处于同一个服务器
- day-line: true
- other-job: true
+ day-line: false
+ other-job: false
loop-job: true
rabbit-consumer: true
- block-job: true
+ block-job: false
+ websocket: true
aliyun:
oss:
--
Gitblit v1.9.1