From c6880ab1f41a9c3f9d1a93f8b07373d2374e53d0 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 12 Oct 2026 15:34:06 +0800
Subject: [PATCH] config(test): 更新测试环境配置文件
---
src/main/resources/application-test.yml | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 520ba13..de1f129 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -5,12 +5,12 @@
spring:
profiles:
- active: app
+ active: test
datasource:
- url: jdbc:mysql://47.76.217.51:3306/db_base?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
- username: db_base
- password: P@ssw0rd!123
- driver-class-name: com.mysql.jdbc.Driver
+ url: jdbc:mysql://127.0.0.1:3306/db_base?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+ username: ct_test
+ password: 123456
+ driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: ${spring_datasource_druid_initial_size:10}
@@ -32,10 +32,10 @@
filters: stat,wall
stat-view-servlet:
# 默认true 内置监控页面首页/druid/index.html
- enabled: true
+ enabled: false
url-pattern: /druid/*
# 允许清空统计数据
- reset-enable: true
+ reset-enable: false
login-username: root
login-password: 123456
# IP白名单 多个逗号分隔
@@ -48,13 +48,13 @@
## redis配置
redis:
# Redis数据库索引(默认为 0)
- database: 13
+ database: 8
# Redis服务器地址
- host: 47.76.217.51
+ host: 127.0.0.1
# Redis服务器连接端口
port: 6379
# Redis 密码
- password: lianghua1!qaz2@WSX
+ password: 1234!@#$!QAZ
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -69,10 +69,10 @@
timeout: 500000
rabbitmq:
- host: 47.76.217.51
+ host: 127.0.0.1
port: 5672
- username: lianghua20210816
- password: lianghua20210816
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
@@ -102,7 +102,7 @@
rabbit-consumer: false
block-job: false
websocket: false
- quant: true
+ quant: false
aliyun:
oss:
--
Gitblit v1.9.1