优化代码

This commit is contained in:
XinYi Song 2022-03-01 18:00:08 +08:00
parent 7706e24809
commit 352cc40c5e
2 changed files with 3 additions and 2 deletions

View File

@ -79,6 +79,7 @@ public class FireServerImpl implements FireService {
return outputEncapsulationObject(PromptMessageEnum.DATA_NONE,"暂时没有火情信息!",locale);
}
return outputEncapsulationObject(PromptMessageEnum.SUCCESS,threeHundredData,locale);
}
/**

View File

@ -54,8 +54,8 @@ spring.activemq.broker-url=tcp://111.26.161.203:61616
spring.activemq.packages.trust-all=true
spring.activemq.user=admin
spring.activemq.password=admin
spring.activemq.topic-name=mq.alarm.msg.topic.1
spring.activemq.topic-name1=mq.event.msg.topic.1
spring.activemq.topic-name=mq.alarm.msg.topic.1 #火情订阅
spring.activemq.topic-name1=mq.event.msg.topic.1 # 图片订阅
# 默认代理URL是否应该在内存中。如果指定了显式代理则忽略此值。
spring.activemq.in-memory=true
# 是否在回滚回滚消息之前停止消息传递。这意味着当启用此命令时,消息顺序不会被保留。