controller.go
func (c *Controller) Int64Range(fieldName string, p interface{}, n int64, m int64) int64 {
	if p == nil {
		p = 0
	}
	value, ok := c.toNumber64(p)

	if ok == false {
		panic((&ValidationError{}).New(fieldName + "必须是数字"))
	}
	b := c.Validate.Range64(value, n, m)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "值的范围应该从 " + strconv.FormatInt(n, 10) + " 到 " + strconv.FormatInt(m, 10)))
	}
	return value
}
func (c *Controller) Int64Range(fieldName string, p interface{}, n int64, m int64) int64 {
	if p == nil {
		p = 0
	}
	value, ok := c.toNumber64(p)

	if ok == false {
		panic((&ValidationError{}).New(fieldName + "必须是数字"))
	}
	b := c.Validate.Range64(value, n, m)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "值的范围应该从 " + strconv.FormatInt(n, 10) + " 到 " + strconv.FormatInt(m, 10)))
	}
	return value
}
// Int64Range  param must be a integer, and range is [n, m]