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()); }