mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
✨ 优化忽略规则配置和 Agent 获取 IP
This commit is contained in:
@@ -8,6 +8,11 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
const (
|
||||
CronCoverIgnoreAll = iota
|
||||
CronCoverAll
|
||||
)
|
||||
|
||||
type Cron struct {
|
||||
Common
|
||||
Name string
|
||||
@@ -17,6 +22,7 @@ type Cron struct {
|
||||
PushSuccessful bool // 推送成功的通知
|
||||
LastExecutedAt time.Time // 最后一次执行时间
|
||||
LastResult bool // 最后一次执行结果
|
||||
Cover uint8
|
||||
|
||||
CronID cron.EntryID `gorn:"-"`
|
||||
ServersRaw string
|
||||
|
||||
Reference in New Issue
Block a user