first push

This commit is contained in:
renzhiyuan 2025-03-25 10:54:43 +08:00
parent f4a72221e5
commit 8e2ebd4179
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func (n *Notify) next() {
} }
time := "@every " + fmt.Sprintf("%ds", n.DelayList[n.i]) time := "@every " + fmt.Sprintf("%ds", n.DelayList[n.i])
n.currenEntry, _ = n.cron.AddFunc(time, func() { n.currenEntry, _ = n.cron.AddFunc(time, func() {
e := n.ResultHandle(n.DoFuc()) e := n.ResultHandle(n.Request.Send())
if n.isLoop { if n.isLoop {
//循环推送直到成功 //循环推送直到成功
if e { if e {