type reqPostProcess struct {
ProjectID int64 `json:"project_id" binding:"required,gte=1" example:"10"`
JobID int64 `json:"job_id" binding:"required,gte=1" example:"10"`
ShowType int `json:"show_type" binding:"required" example:"3"`
CurScalarIndex int `json:"cur_scalarIndex" binding:"required" example:"0"`
ContourEnable bool `json:"contour_enable" binding:"required" example:"false"`
}
[Key: 'reqPostProcess.CurScalarIndex' Error:Field validation for 'CurScalarIndex' failed on the 'required' tag]
type reqPostProcess struct {
ProjectID int64 `json:"project_id" binding:"required,gte=1" example:"10"`
JobID int64 `json:"job_id" binding:"required,gte=1" example:"10"`
ShowType *int `json:"show_type" binding:"required" example:"3"`
CurScalarIndex *int `json:"cur_scalarIndex" binding:"required" example:"0"`
ContourEnable bool `json:"contour_enable" binding:"required" example:"false"`
}