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

修改消息配置

hym 3 éve
szülő
commit
ccf231bc44

+ 2 - 0
zoniot-pay/zoniot-pay-web/src/main/java/com/zcxk/rmcp/pay/compoent/MessageComponent.java

@@ -56,9 +56,11 @@ public class MessageComponent {
         message.setTitle(title);
         message.setTenantId(record.getTenantId());
         message.setMessageId(UUID.randomUUID().toString());
+        message.setStatus(1);
         if(flag){
             message.setUrl(url);
         }
+
         sendMessageToUser(message);
     }
 

+ 3 - 3
zoniot-pay/zoniot-pay-web/src/main/resources/application-dev.properties

@@ -86,9 +86,9 @@ spring.rabbitmq.template.mandatory=true
 spring.data.mongodb.uri=mongodb://10.0.0.63:27017/meter-reading-database
 #spring.data.mongo.uri=mongo://127.0.0.1:27017/meter-reading-database
 logging.level.org.springframework.data.mongodb.core=DEBUG
-receive.exchange.name=messageExchangeTest
-dispath.routing.key=dipathKeyTest1
-dispath.queue=dispathTest1
+receive.exchange.name=messageExchange
+dispath.routing.key=dipathKey
+dispath.queue=dispath
 iot.device.queue.name=iot_device_queue
 
 iot.exchange.name=iot_device_exchange_dev

+ 2 - 1
zoniot-pay/zoniot-pay-web/src/main/resources/application-sit.properties

@@ -88,7 +88,8 @@ spring.data.mongodb.uri=mongodb://10.0.0.63:27017/meter-reading-database
 #spring.data.mongo.uri=mongo://127.0.0.1:27017/meter-reading-database
 logging.level.org.springframework.data.mongodb.core=DEBUG
 receive.exchange.name=messageExchange
-dispath.routing.key=receiveKey
+dispath.routing.key=dipathKey
+dispath.queue=dispath
 
 iot.device.queue.name=iot_device_queue
 

+ 2 - 0
zoniot-pay/zoniot-pay-xxljob-client/src/main/resources/application-dev.properties

@@ -63,3 +63,5 @@ spring.redis.lettuce.pool.min-idle=0
 spring.redis.lettuce.shutdown-timeout=100
 spring.main.allow-bean-definition-overriding=true
 spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848
+ribbon.eager-load.enabled=true
+ribbon.eager-load.clients=zoniot-rmcp-web