docs: 更新任务类型注释
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -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:"是否可以被接受"`
|
||||
|
||||
Reference in New Issue
Block a user