sorelythrob před 2 týdny
rodič
revize
df76127cef

+ 2 - 5
webchat-common/src/main/java/com/webchat/common/config/configuration/RedissonConfig.java

@@ -10,11 +10,6 @@ import org.springframework.context.annotation.Configuration;
 @Configuration
 public class RedissonConfig {
 
-    @Value("${spring.data.redis.host:localhost}")
-    private String host;
-
-    @Value("${spring.data.redis.port:6379}")
-    private String port;
 
     /**
      * 对 Redisson 的使用都是通过 RedissonClient 对象
@@ -28,6 +23,8 @@ public class RedissonConfig {
         // 2、集群模式
         // config.useClusterServers().addNodeAddress("192.168.36.128:7004", "192.168.36.128:7001");
         // 根据 Config 创建出 RedissonClient 示例
+        String host = "192.168.36.128";
+        String port = "26739";
         config.useSingleServer()
                 .setAddress(String.format("redis://%s:%s", host, port))
                 .setPassword("ZiFiE3JkwCN5S5FF")

+ 0 - 19
webchat-sso/.mvn/wrapper/maven-wrapper.properties

@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-wrapperVersion=3.3.2
-distributionType=only-script
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip