mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:00:55 +00:00
bug fixed
This commit is contained in:
parent
b59dae6fb8
commit
ad8418720f
@ -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