controller.go
func (c *Controller) IntMin(fieldName string, p interface{}, n int) int {
	if p == nil {
		p = ""
	}
	value, ok := c.toNumber(p)
	if ok == false {
		panic((&ValidationError{}).New(fieldName + "必须是数字"))
	}
	b := c.Validate.Min(value, n)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "最小值为" + strconv.Itoa(n)))
	}
	return value
}
func (c *Controller) IntMin(fieldName string, p interface{}, n int) int {
	if p == nil {
		p = ""
	}
	value, ok := c.toNumber(p)
	if ok == false {
		panic((&ValidationError{}).New(fieldName + "必须是数字"))
	}
	b := c.Validate.Min(value, n)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "最小值为" + strconv.Itoa(n)))
	}
	return value
}
// IntMin  param must be a integer, and range is [n,]