Commit c64bc645 by 阮思源

去掉延时

parent 593ede4c
......@@ -299,14 +299,7 @@ public class PushBizImpl implements PushBiz {
String altId = wechatGroupConsr.getRobotIdByGroupId(groupQrcode.getWeixinGroupId());
//遍历发送消息
for (PushItem pushItem : pushItemList) {
try {
LOGGER.info("发送一个群里的一个消息开始pushGroup=" + pushGroup.toString() + "pushItem=" + pushItem.toString() + "altId=" + altId);
sendWechatMessage(pushGroup, pushItem, pushGroupRecord.getId(), altId);
LOGGER.info("发送一个群里的一个消息结束,休眠100毫秒pushGroup=" + pushGroup.toString() + "pushItem=" + pushItem.toString() + "altId=" + altId);
Thread.sleep(100);
} catch (InterruptedException e) {
LOGGER.error("发消息休眠100毫秒出错", e);
}
sendWechatMessage(pushGroup, pushItem, pushGroupRecord.getId(), altId);
}
}
}
......
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