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