task bug fix

This commit is contained in:
liuzhihang1
2025-02-23 23:23:02 +08:00
parent fe935fcc3e
commit 0f41d11aec
3 changed files with 55 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ type Task struct {
TriggerEvent *constants.ProcessState `gorm:"column:trigger_event;" json:"triggerEvent" `
TriggerTarget *int `gorm:"column:trigger_target;" json:"triggerTarget" `
OperationTarget int `gorm:"column:operation_target;NOT NULL" json:"operationTarget" `
Cron *string `gorm:"column:cron;" json:"cron" `
Cron string `gorm:"column:cron;" json:"cron" `
Enable bool `gorm:"column:enable;" json:"enable" `
ApiEnable bool `gorm:"column:api_enable;" json:"apiEnable" `
Key *string `gorm:"column:key;" json:"key" `