fix: json
This commit is contained in:
@ -28,7 +28,7 @@ type StepTrainRecord struct {
|
|||||||
StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳
|
StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳
|
||||||
EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref)
|
EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref)
|
||||||
Name string `gorm:"size:100" json:"name"`
|
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"`
|
MaxHeartRate int `gorm:"type:int" json:"maxHeartRate"`
|
||||||
Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒)
|
Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒)
|
||||||
DeadZone int `gorm:"type:int" json:"deadZone"`
|
DeadZone int `gorm:"type:int" json:"deadZone"`
|
||||||
|
|||||||
Reference in New Issue
Block a user