model/request/common.go
@@ -8,3 +8,11 @@ type GetById struct { ID uint `json:"id"` // 主键ID } type SetCurrentDevice struct { CurrentDeviceID string `json:"currentDeviceID,omitempty"` //当前选定的生产设备 } type DeviceConfig struct { NeedSetProcessParams bool `json:"needSetProcessParams,omitempty"` //是否需要设置工艺参数 }