订单异常通知@所有人

This commit is contained in:
b2baccline
2020-08-10 09:43:10 +08:00
parent e05f89d59e
commit cac5c7ae95

View File

@@ -25,7 +25,7 @@ public class DingTalkGlobalExceptionHandler extends AbstractNoticeGlobalExceptio
@Override
public ExceptionNoticeResponse send(ExceptionMessage sendMessage) {
DingTalkResponse response = sender.sendMessage(new DingTalkTextMessage().setContent(sendMessage.toString()));
DingTalkResponse response = sender.sendMessage(new DingTalkTextMessage().setContent(sendMessage.toString()).atAll());
return new ExceptionNoticeResponse().setErrMsg(response.getResponse()).setSuccess(response.isSuccess());
}