Compare commits

..

2 Commits
v1.0.1 ... v1

Author SHA1 Message Date
renzhiyuan 10f971da0a first push 2025-03-25 10:54:43 +08:00
renzhiyuan f4a72221e5 first push 2025-02-20 17:05:55 +08:00
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -1,6 +1,6 @@
module gitea.cdlsxd.cn/self-tools/l_notify
go 1.23.6
go 1.21
require (
gitea.cdlsxd.cn/self-tools/l_request v1.0.4 // indirect

View File

@ -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 {