From 821c71bd8d2ff23fed0a9c9f7f8f514e1a85d344 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 1 Jan 2020 15:20:03 +0800 Subject: [PATCH] improve parameter parsing feature for ghttp.Request --- net/ghttp/ghttp_unit_param_xml_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ghttp/ghttp_unit_param_xml_test.go b/net/ghttp/ghttp_unit_param_xml_test.go index 2c004614c..999e39697 100644 --- a/net/ghttp/ghttp_unit_param_xml_test.go +++ b/net/ghttp/ghttp_unit_param_xml_test.go @@ -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()