mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve parameter parsing feature for ghttp.Request
This commit is contained in:
@ -21,7 +21,7 @@ func Test_Params_Xml_Request(t *testing.T) {
|
||||
Id int
|
||||
Name string
|
||||
Time *time.Time
|
||||
Pass1 string `p:"password1" v:"password1"`
|
||||
Pass1 string `p:"password1"`
|
||||
Pass2 string `p:"password2" v:"required|length:2,20|password3|same:password1#||密码强度不足|两次密码不一致"`
|
||||
}
|
||||
p := ports.PopRand()
|
||||
|
||||
Reference in New Issue
Block a user