diff --git a/modules/config/model/task.go b/modules/config/model/task.go index 9eb7fefc..567f410d 100644 --- a/modules/config/model/task.go +++ b/modules/config/model/task.go @@ -18,7 +18,7 @@ type TaskConfig struct { OutState int `gorm:"not null;default:0;comment:'任务分支'" json:"out_state" description:"任务分支"` //父级任务 ParentTaskId uint32 `gorm:"not null;default:0;comment:'父级任务ID'" json:"parent_task_id" description:"父级任务ID"` - // type(任务类型,0为常规任务,1为日常任务), + // type(任务类型,0为常规任务,1为日常任务,2为周任务), TaskType uint32 `gorm:"not null;default:0;comment:'任务类型'" json:"task_type" description:"任务类型"` //是否可以被接受TaskConfig IsAcceptable uint32 `gorm:"not null;default:1;comment:'是否可以被接受'" json:"is_acceptable" description:"是否可以被接受"`