remove id field in every form struct, fix cron & ddns db (#11)

This commit is contained in:
UUBulb
2024-11-19 23:34:56 +08:00
committed by GitHub
parent 3efbf9cce1
commit a1bac6e525
4 changed files with 11 additions and 7 deletions

View File

@@ -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"`