Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
10f971da0a |
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue