controller.go
func (c *Controller) GetEmail(fieldName string, p interface{}) string {
	if p == nil {
		p = ""
	}
	v, ok := p.(string)
	if ok == false {
		panic((&ValidationError{}).New(fieldName + "格式错误"))
	}
	b := c.Validate.Email(v)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "格式错误"))
	}
	return v
}
func (c *Controller) GetEmail(fieldName string, p interface{}) string {
	if p == nil {
		p = ""
	}
	v, ok := p.(string)
	if ok == false {
		panic((&ValidationError{}).New(fieldName + "格式错误"))
	}
	b := c.Validate.Email(v)
	if b == false {
		panic((&ValidationError{}).New(fieldName + "格式错误"))
	}
	return v
}
// GetEmail check is a email