From bc52b82b938e48c914fc885692e1e9dba31c0f04 Mon Sep 17 00:00:00 2001 From: longpeng Date: Tue, 24 Jun 2025 23:09:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=8D=E5=90=88=E6=A1=88?= =?UTF-8?q?=E4=BE=8B=E6=A8=A1=E5=9E=8B=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=20StepConfig=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E4=B8=BA=20ParametersJson=20=E4=BB=A5=E6=8F=90=E9=AB=98?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=A1=A8=E8=BE=BE=E6=B8=85=E6=99=B0=E5=BA=A6?= =?UTF-8?q?=E5=92=8C=E4=B8=80=E8=87=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/composite.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/composite.go b/models/composite.go index 07e1d3c..62587bd 100644 --- a/models/composite.go +++ b/models/composite.go @@ -27,7 +27,7 @@ type CompositeCaseStep struct { StepName string `json:"step_name" gorm:"not null;size:255"` StepDescription string `json:"step_description" gorm:"type:text"` StepType string `json:"step_type" gorm:"not null;size:100"` - StepConfig string `json:"step_config" gorm:"type:json"` + ParametersJson string `json:"parameters_json" gorm:"type:json"` IsRequired bool `json:"is_required" gorm:"default:true"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` @@ -47,7 +47,7 @@ type CreateCompositeCaseStepRequest struct { StepName string `json:"step_name" binding:"required"` StepDescription string `json:"step_description"` StepType string `json:"step_type" binding:"required"` - StepConfig string `json:"step_config"` + ParametersJson string `json:"parameters_json"` IsRequired bool `json:"is_required"` } @@ -66,6 +66,6 @@ type UpdateCompositeCaseStepRequest struct { StepName string `json:"step_name"` StepDescription string `json:"step_description"` StepType string `json:"step_type"` - StepConfig string `json:"step_config"` + ParametersJson string `json:"parameters_json"` IsRequired bool `json:"is_required"` }