mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
remove id field in every form struct, fix cron & ddns db (#11)
This commit is contained in:
1 parent
50ec515b55
commit
b80e251f6a
4 files changed
+11
-7
No files matched your search
@@ -1,7 +1,6 @@
|
||||
package model
|
||||
|
||||
type CronForm struct {
|
||||
ID uint64 `json:"id,omitempty"`
|
||||
TaskType uint8 `json:"task_type,omitempty" default:"0"` // 0:计划任务 1:触发任务
|
||||
Name string `json:"name,omitempty" minLength:"1"`
|
||||
Scheduler string `json:"scheduler,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user