model/request/common.go @@ -9,6 +9,6 @@ ID uint `json:"id"` // 主键ID } type GetByUserId struct { UserId string `json:"userId"` // 用户ID type SetCurrentDevice struct { CurrentDeviceID string `json:"currentDeviceID,omitempty"` //当前选定的生产设备 }