修复任务参数类型转换

This commit is contained in:
ryan
2026-06-11 08:40:08 +08:00
parent 8964054fd8
commit 5dedff1324
8 changed files with 46 additions and 8 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const defaultMaxRetry = 3
type TaskParam struct {
Name string `json:"Name"` // 参数键名
Label string `json:"Label"` // 显示名称
Type string `json:"Type"` // 类型:string, text, number
Type string `json:"Type"` // 类型:string, text, number, boolean
Required bool `json:"Required"` // 是否必填
Placeholder string `json:"Placeholder"` // 占位符
Description string `json:"Description"` // 描述