From 2471130f593eb721e3345e0144cc5d57c4ae6d01 Mon Sep 17 00:00:00 2001 From: sunmoon <“i@liming.me”> Date: Thu, 10 Mar 2022 09:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=B7=91ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net/ghttp/ghttp_request_param_request.go | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ghttp/ghttp_request_param_request.go b/net/ghttp/ghttp_request_param_request.go index 8f5531676..c08fa0a8b 100644 --- a/net/ghttp/ghttp_request_param_request.go +++ b/net/ghttp/ghttp_request_param_request.go @@ -22,6 +22,7 @@ import ( // // Note that if there are multiple parameters with the same name, the parameters are // retrieved and overwrote in order of priority: router < query < body < form < custom. + func (r *Request) GetRequest(key string, def ...interface{}) *gvar.Var { value := r.GetParam(key) if value.IsNil() {