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