From 0c646549ca5efba5f0b16dfa0cd47b0a1ac9b039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A3=B4=E6=B5=A9=E5=AE=87?= <617594538@qq.com> Date: Mon, 6 May 2024 15:24:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BE=85=E5=8A=9E=E9=A3=9E=E4=B9=A6?= =?UTF-8?q?=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnkx-quartz/src/main/java/com/pnkx/quartz/task/PxTask.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pnkx-quartz/src/main/java/com/pnkx/quartz/task/PxTask.java b/pnkx-quartz/src/main/java/com/pnkx/quartz/task/PxTask.java index 2ecdf6f..ab8faa7 100644 --- a/pnkx-quartz/src/main/java/com/pnkx/quartz/task/PxTask.java +++ b/pnkx-quartz/src/main/java/com/pnkx/quartz/task/PxTask.java @@ -4,6 +4,7 @@ import com.pnkx.common.constant.RedisConstants; import com.pnkx.common.constant.WebsiteAddressConstants; import com.pnkx.common.core.domain.AjaxResult; import com.pnkx.common.core.domain.entity.SysUser; +import com.pnkx.common.notify.FeishuISysNotify; import com.pnkx.common.utils.SecurityUtils; import com.pnkx.common.utils.StringUtils; import com.pnkx.common.utils.reflect.ReflectUtils; @@ -108,6 +109,7 @@ public class PxTask { sysEmail.setContent(activationTemplate); try { sysEmailService.sendMail(sysEmail); + FeishuISysNotify.sendNotification(todoRemind.toString(), "/mytool/todo"); } catch (Exception e) { logger.error("发送待办提醒邮件异常,异常信息为:{}", e.getMessage()); }