|
@@ -5,9 +5,9 @@ spring:
|
|
name: huimv-eartag2-manage2
|
|
name: huimv-eartag2-manage2
|
|
|
|
|
|
datasource:
|
|
datasource:
|
|
- url: jdbc:mysql://122.112.224.199:3306/huimv_cattle?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
|
|
|
|
- username: root
|
|
|
|
- password: hm123456
|
|
|
|
|
|
+ url: jdbc:mysql://10.0.0.77:3309/huimv-demo-eartag20?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
|
|
|
|
+ username: eartag
|
|
|
|
+ password: eartag@2022
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
jpa:
|
|
jpa:
|
|
show-sql: true
|
|
show-sql: true
|
|
@@ -18,16 +18,13 @@ spring:
|
|
open-in-view: true
|
|
open-in-view: true
|
|
|
|
|
|
rabbitmq:
|
|
rabbitmq:
|
|
- host: 121.36.134.218
|
|
|
|
|
|
+ #host: 121.36.134.218
|
|
|
|
+ host: 10.0.0.14
|
|
port: 5672
|
|
port: 5672
|
|
username: admin
|
|
username: admin
|
|
password: admin
|
|
password: admin
|
|
#虚拟host 可以不设置,使用server默认host
|
|
#虚拟host 可以不设置,使用server默认host
|
|
virtual-host: /
|
|
virtual-host: /
|
|
- # publisher-confirms: true #(过时、弃用)
|
|
|
|
- publisher-confirm-type: correlated
|
|
|
|
- #确认消息已发送到队列(Queue)
|
|
|
|
- publisher-returns: true
|
|
|
|
listener:
|
|
listener:
|
|
simple:
|
|
simple:
|
|
acknowledge-mode: none
|
|
acknowledge-mode: none
|
|
@@ -35,7 +32,8 @@ spring:
|
|
#redis
|
|
#redis
|
|
redis:
|
|
redis:
|
|
database: 0
|
|
database: 0
|
|
- host: 121.36.134.218
|
|
|
|
|
|
+# host: 121.36.134.218
|
|
|
|
+ host: 10.0.0.14
|
|
port: 6379
|
|
port: 6379
|
|
password: hm123456
|
|
password: hm123456
|
|
timeout: 5000ms
|
|
timeout: 5000ms
|
|
@@ -48,6 +46,7 @@ spring:
|
|
|
|
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
configuration:
|
|
configuration:
|
|
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
+ log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
|
# mapper.xml文件所存放的位置
|
|
# mapper.xml文件所存放的位置
|
|
mapper-locations: classpath*:com/huimv/eartag2/manage2/mapper/xml/*.xml # 不加这一行出错:“org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)”
|
|
mapper-locations: classpath*:com/huimv/eartag2/manage2/mapper/xml/*.xml # 不加这一行出错:“org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)”
|