调整 ReleaseFeedWeightTask

This commit is contained in:
2025-09-29 22:26:58 +08:00
parent 8392438dc5
commit 4bed3e51b2
3 changed files with 6 additions and 6 deletions

View File

@@ -58,8 +58,8 @@ type SensorData struct {
// RegionalControllerID 是上报此数据的区域主控的ID。
RegionalControllerID uint `json:"regional_controller_id"`
// SensorDataType 是传感数据的类型
SensorDataType SensorType `gorm:"not null;index" json:"sensor_data_type"`
// SensorType 是传感数据的类型
SensorType SensorType `gorm:"not null;index" json:"sensor_type"`
// Data 存储一个或多个传感器读数,格式为 JSON。
Data datatypes.JSON `gorm:"type:jsonb" json:"data"`