Commit 599355ed authored by 赵啸非's avatar 赵啸非

修改用户登录,权限分配等

parent 05978946
......@@ -191,7 +191,9 @@ public class DeviceMsgComsumerStartedService implements IApplicationStartedServi
}
//获取exchange,
PlatformEntity platformEntity = platformService.get(deviceEntity.getPlatformId());
if (!ObjectUtils.isEmpty(platformEntity) && platformEntity.getSendSwitch() == YesNoEnum.YES.getValue()) {
if (!Constant.MESSAGETYPE_HEARTBEAT.equalsIgnoreCase(messageType)
&&!ObjectUtils.isEmpty(platformEntity)
&& platformEntity.getSendSwitch() == YesNoEnum.YES.getValue()) {
if (platformEntity.getSendMsgType() == SendMsgTypeEnum.http.getValue() && !ObjectUtils.isEmpty(platformEntity.getSendUrl())) {
//http方式
//通过线程池进行发送消息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment