mirror of
https://github.com/astaxie/beego.git
synced 2024-11-10 18:20:55 +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