mirror of
https://github.com/astaxie/beego.git
synced 2024-12-25 16:30:50 +00:00
commit
7bacb25725
@ -67,7 +67,7 @@ func (r Required) IsSatisfied(obj interface{}) bool {
|
||||
}
|
||||
|
||||
func (r Required) DefaultMessage() string {
|
||||
return "Required"
|
||||
return fmt.Sprint(MessageTmpls["Required"])
|
||||
}
|
||||
|
||||
func (r Required) GetKey() string {
|
||||
|
Loading…
Reference in New Issue
Block a user