add cron, nat api & refactor alert rule (#459)

* add cron api & refactor alert rule

* add nat api

* fix swagger

* remove unnecessary steps
This commit is contained in:
UUBulb authored and GitHub committed 2024-10-26 23:57:47 +08:00
1 parent 785b4dce37
commit 8bfe70d519
24 files changed
+572 -143

No files matched your search

-1
View File
@@ -1,7 +1,6 @@
package model
type AlertRuleForm struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Rules []Rule `json:"rules"`
FailTriggerTasks []uint64 `json:"fail_trigger_tasks"` // 失败时触发的任务id