分离钉钉消息到通知管理

This commit is contained in:
ayflying
2025-03-04 17:24:10 +08:00
parent 6988e99717
commit 6eeb5a57cd
5 changed files with 79 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ type (
// @Description: 向指定的钉钉机器人发送消息。
// @receiver s: 系统定时任务结构体指针。
// @param value: 要发送的消息内容。
// Deprecated: Use message.New(message.DingTalk, DingTalkWebHook).Send(value)
DingTalk(DingTalkWebHook string, value string) (res *gclient.Response)
ReadLog()
// AddCron 添加一个定时任务到相应的调度列表中。