model/request/common.go @@ -22,3 +22,7 @@ } return true } type CommonIds struct { Ids []int `json:"ids,omitempty" binding:"required"` }