|
|
|
@ -39,14 +39,14 @@ public class AlarmListener implements IQueueConsume {
|
|
|
|
|
messageService.webAppMessage(alarm); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 步骤4.微信公众号发送
|
|
|
|
|
if(ObjectUtil.isNotEmpty(alarm.getIsWxMessage()) && alarm.getIsWxMessage() == 0){ |
|
|
|
|
messageService.weChatMessage(alarm); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 步骤3.短信推送
|
|
|
|
|
if(ObjectUtil.isNotEmpty(alarm.getIsShortMessage()) && alarm.getIsShortMessage() == 0){ |
|
|
|
|
messageService.shortMessage(alarm); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 步骤4.微信公众号发送
|
|
|
|
|
if(ObjectUtil.isNotEmpty(alarm.getIsWxMessage()) && alarm.getIsWxMessage() == 0){ |
|
|
|
|
messageService.weChatMessage(alarm); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |