企业微信无法 @ 人员. (#46)

pull/84/head
chen.ma 3 years ago
parent 01b68d1c33
commit 617b10ce73

@ -54,7 +54,7 @@ public class WeChatAlarmConstants {
"> 队列容量:%s \n" +
"> AGO 拒绝策略:%s \n" +
"> NOW 拒绝策略:%s \n" +
"> OWNER**@%s** \n" +
"> OWNER<@%s> \n" +
"> 提示:动态线程池配置变更实时通知(无限制) \n\n" +
"**播报时间:%s**";

@ -110,7 +110,7 @@ public class WeChatSendMessageHandler implements SendMessageHandler {
}
List<String> receives = StrUtil.split(notifyConfig.getReceives(), ',');
String afterReceives = Joiner.on(", @").join(receives);
String afterReceives = Joiner.on("><@").join(receives);
ThreadPoolExecutor customPool = poolWrap.getExecutor();
String text = String.format(

Loading…
Cancel
Save