Browse Source

配置更改

dinglan 2 years ago
parent
commit
1c76fed613
1 changed files with 13 additions and 12 deletions
  1. 13 12
      src/main/resources/application.yml

+ 13 - 12
src/main/resources/application.yml

@@ -7,32 +7,33 @@ spring:
 #    url: jdbc:mysql://124.70.152.102:3306/mask?useSSL=false
 #    username: sunwin
 #    password: Sunwin@2020
-#    url: jdbc:mysql://192.168.20.82:3306/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
-#    username: root
-#    password: Sunwin@2020
-    url: jdbc:mysql://localhost:3307/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
+    url: jdbc:mysql://192.168.20.82:3306/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
     username: root
-    password: 123456
-    driver-class-name: com.mysql.cj.jdbc.Driver
+    password: Sunwin@2020
+#    url: jdbc:mysql://localhost:3307/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
+#    username: root
+#    password: 123456
+#    driver-class-name: com.mysql.cj.jdbc.Driver
   redis:
     # 数据库索引,默认0
     database: 4
     #    # 服务器IP地址
-#    host: 192.168.20.83
-    host: 127.0.0.1
+    host: 192.168.20.83
+#    host: 127.0.0.1
     # 连接端口
     port: 6379
     # Redis服务器连接密码(默认为空)
-#    password: sunwin
+    password: sunwin
   jms:
     # 配置消息的类型 默认false,如果是true则表示为topic消息,如果为false表示Queue消息,一个服务里 只能用一种???
     pub-sub-domain: false
   activemq:
     user: admin    # 连接用户名
     password: admin   # 连接密码
-#    broker-url: tcp://192.168.20.76:28085 # 消息组件的连接主机信息
-    broker-url: tcp://localhost:61616 # 消息组件的连接主机信息
+    broker-url: tcp://192.168.20.76:28085 # 消息组件的连接主机信息
+#    broker-url: tcp://localhost:61616 # 消息组件的连接主机信息
 queuename: mask
+amount: 5
 
 mybatis-plus:
   # 指向实体类包路径
@@ -53,4 +54,4 @@ mybatis-plus:
     variables:
       nextTermDays: 90
       #mybatis-plus配置控制台打印完整带参数SQL语句
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl