|
@@ -97,7 +97,7 @@ public class NotifyServiceImpl implements NotifyService {
|
|
|
if (systemPropertiesService.getBooleanValue(key)) {
|
|
|
MessageUserDTO messageUserDTO = new MessageUserDTO();
|
|
|
messageUserDTO.setUserId(userId);
|
|
|
- sendDingding(dingMsg, Collections.singletonList(messageUserDTO));
|
|
|
+ sendDingding("基因定制", dingMsg, Collections.singletonList(messageUserDTO));
|
|
|
}
|
|
|
|
|
|
//查询是否需要邮件通知,目前邮件通知随钉钉消息一起发送
|
|
@@ -105,12 +105,12 @@ public class NotifyServiceImpl implements NotifyService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void sendDingding(String msg, List<MessageUserDTO> users) {
|
|
|
+ public void sendDingding(String systemName, String msg, List<MessageUserDTO> users) {
|
|
|
if (CollUtil.isEmpty(users)) {
|
|
|
log.error("钉钉通知用户为空");
|
|
|
return;
|
|
|
}
|
|
|
- TextMessageParam param = new TextMessageParam(new ArrayList<>(users), msg, "基因定制");
|
|
|
+ TextMessageParam param = new TextMessageParam(new ArrayList<>(users), msg, systemName);
|
|
|
log.info("【消息通知】发送:{}", JSON.toJSONString(param));
|
|
|
|
|
|
try {
|