From 3a73d5c21bb96dde33c97a6d4d50f4632678b329 Mon Sep 17 00:00:00 2001
From: zhouxiantao <1026371446@qq.com>
Date: Wed, 09 Oct 2024 20:32:35 +0800
Subject: [PATCH] web查询个人来访记录
---
dyh-service/dyh-cust/src/main/resources/config/application-test.yml | 28 ++++++++++++++++++++++++----
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/dyh-service/dyh-cust/src/main/resources/config/application-test.yml b/dyh-service/dyh-cust/src/main/resources/config/application-test.yml
index 6970d61..9b6921f 100644
--- a/dyh-service/dyh-cust/src/main/resources/config/application-test.yml
+++ b/dyh-service/dyh-cust/src/main/resources/config/application-test.yml
@@ -1,7 +1,7 @@
#server配置
server:
#端口
- port: 9004
+ port: 9014
#Spring配置
spring:
@@ -10,9 +10,9 @@
name: dyh-cust
#数据源配置
datasource:
- url: jdbc:dm://192.168.3.51:5236?schema=gzdyh_dev
+ url: jdbc:dm://192.168.234.57:9016?schema=gzdyh_test
username: SYSDBA
- password: hugeinfo123
+ password: SYSDBA
driver-class-name: dm.jdbc.driver.DmDriver
type: com.alibaba.druid.pool.DruidDataSource
druid:
@@ -24,12 +24,32 @@
# 用来验证数据库连接是否仍然可用的 SQL 查询
validation-query: SELECT 1
+ # redis配置,单机版,集群另外配置
+ redis:
+ host: 183.2.142.21
+ port: 9017
+ password: hugeinfo123
+ # 使用的Redis数据库索引(默认为0)
+ database: 0
+ # 连接超时时间(毫秒)
+ timeout: 5000
+ lettuce:
+ pool:
+ # 连接池最大连接数
+ max-active: 100
+ # 连接池最大阻塞等待时间
+ max-wait: 100000
+ # 连接池中的最大空闲连接
+ max-idle: 10
+ # 连接池中的最小空闲连接
+ min-idle: 0
+
#注册中心配置
eureka:
client:
service-url:
#注册中心单机
- defaultZone: http://localhost:9001/eureka
+ defaultZone: http://localhost:9011/eureka
#注册中心集群
#defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka
#是否注册到注册中心
--
Gitblit v1.8.0