From 28e3860452614bfc9d406b81253094af50241336 Mon Sep 17 00:00:00 2001 From: wangpengfei <1928057482@qq.com> Date: Wed, 26 Jun 2024 11:14:37 +0800 Subject: [PATCH] xml --- src/main/resources/application-dev.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 3314b33..c80c030 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -4,19 +4,19 @@ spring: max-lifetime: 500000 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://39.104.100.138:3306/ss_goods?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true -# url: jdbc:mysql://8.130.39.13:3306/yxt_lpk_yythmall?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true +# url: jdbc:mysql://8.130.39.13:3306/ss_goods?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true username: root # password: 1LAiGz$t1*Iw password: yxt_mysql_138 cloud: nacos: discovery: - namespace: common - server-addr: 39.104.100.138:8848 - register-enabled: false +# namespace: common + server-addr: 127.0.0.1:8848 +# register-enabled: false redis: database: 3 # Redis数据库索引(默认为0) - host: 39.104.100.138 + host: 127.0.0.1 jedis: pool: max-active: -1 #连接池最大连接数(使用负值表示没有限制)