feat: 待办飞书通知
This commit is contained in:
parent
94a8a0c455
commit
0c646549ca
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user