Forráskód Böngészése

本地测试环境文件修改

黄远 5 éve
szülő
commit
2f5562645a

+ 5 - 28
lift-system-service/src/main/resources/application-test.yml

@@ -1,45 +1,22 @@
 spring:
   datasource:
-    url: jdbc:mysql://111.47.6.224:13769/rdsliftmanager?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://192.168.1.122:3306/rdsliftmanager?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
     username: root
-    password: Tyty-2020
+    password: Ty-20526
     driver-class-name: com.mysql.cj.jdbc.Driver
 
   #redis缓存配置
   redis:
     database: 0 #数据库索引,默认为0
-    host: 111.47.6.224 #服务器地址
-    port: 13789 #端口
-    password: newtyty #验证密码
+    host: 192.168.1.122 #服务器地址
+    port: 6379 #端口
+    password: tytykj #验证密码
     jedis:
       pool:
         max-active: 8 #最大连接数
         max-idle: 8 #最大空闲链接
         max-wait: 20000ms
         min-idle: 0
-  # activeMQ 移动端消息推送配置
-  activemq:
-    #ActiveMQ通讯地址
-    broker-url: tcp://121.40.209.47:61616
-    #用户名
-    user: admin
-    #密码
-    password: admin
-    #true 表示使用内置的MQ,false则连接服务器: 消息持久化就必须spring.activemq.in-memory=false选项
-    in-memory: false
-    packages:
-      #信任所有的包: 如果直接发送对象消息,那么必须设置spring.activemq.packages.trust-all为true
-      trust-all: true
-    pool:
-      #true表示使用连接池;false时,每发送一条数据创建一个连接
-      enabled: true
-      #连接池最大连接数
-      max-connections: 30
-      #空闲的连接过期时间,默认为30秒
-      idle-timeout: 3000s
-  jms:
-    #如果是点对点(queue),那么此处默认应该是false,如果发布订阅,那么一定设置为true
-    pub-sub-domain: false
 
 #aliyun OSS服务配置信息,加载到SystemConfiguration
 aliyun: