diff --git a/models/step_train.go b/models/step_train.go index 32e3e5c..c163e0a 100644 --- a/models/step_train.go +++ b/models/step_train.go @@ -28,7 +28,7 @@ type StepTrainRecord struct { StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳 EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref) Name string `gorm:"size:100" json:"name"` - RunType string `gorm:"size:100" json:"RunType"` + RunType string `gorm:"size:100" json:"runType"` MaxHeartRate int `gorm:"type:int" json:"maxHeartRate"` Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒) DeadZone int `gorm:"type:int" json:"deadZone"`