From b14701586518a962eb20cdca1fe422f8a89a037f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 26 Jan 2026 16:11:47 +0800
Subject: [PATCH] chore(ai): 更新知识库工具类中的配置参数
---
src/main/resources/application-test.yml | 31 +++++++++++++++++--------------
1 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 8c64eee..8192672 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -2,7 +2,7 @@
datasource:
dynamic:
# 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
- p6spy: true
+ p6spy: false
hikari:
connection-timeout: 30000
max-lifetime: 1800000
@@ -15,20 +15,20 @@
datasource:
# 数据源-1,名称为 base
base:
- username: happy_community_365
- password: happy_community_365!@#
+ username: ai_one
+ password: ai_one!@#123
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://8.155.56.10:3306/happy_community_365?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+ url: jdbc:mysql://127.0.0.1:3306/ai_one?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
redis:
# Redis数据库索引(默认为 0)
- database: 10
+ database: 1
# Redis服务器地址
- host: 120.27.238.55
+ host: 127.0.0.1
# Redis服务器连接端口
- port: 6479
+ port: 6379
# Redis 密码
- password: d3y6dsdl;f.327
+ password: 1234!@#$!QAZ
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -42,10 +42,10 @@
# 连接超时时间(毫秒)
timeout: 5000000
rabbitmq:
- host: 120.27.238.55
+ host: 127.0.0.1
port: 5672
- username: ct_rabbit
- password: 123456
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
pay:
@@ -70,8 +70,8 @@
# wecharpaySecret: CSxc168888CSxc168888CSxc168888xc
xcx:
wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
- xcx_appid: wxe8454293f5c4c143
- xcx_secret: 33c3ad513344cf6c16904e5d528b70ea
+ xcx_appid: wx5cc58f796224af61
+ xcx_secret: 0c2715d0c23c6b9959edd2b2eac81b80
debug: true
wecharPaynotifyUrl: http://happy.csxuncong.com/api/xcxPay/wxpayCallback
wecharActivityPaynotifyUrl: http://happy.csxuncong.com/api/xcxPay/activityOrderCallback
@@ -85,8 +85,11 @@
static:
resource:
+ ai:
+ common: /mnt/sdc/webresource/ai/common/
+ company: /mnt/sdc/webresource/ai/company/
url: http://blnka.csxuncong.com/file/
path: /mnt/sdc/webresource/file/
system:
- job: true
\ No newline at end of file
+ job: false
\ No newline at end of file
--
Gitblit v1.9.1