From e01a7a26547b3ecf4c204299d775c3221f1cad2d Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 29 Oct 2021 17:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/http.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/routers/repo/http.go b/routers/repo/http.go index 707cb2700..172cf9663 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -318,9 +318,13 @@ func HTTP(ctx *context.Context) { dataJson, _ := json.Marshal(ctx.Data) log.Info("dataJson=" + string(dataJson)) - reqJson, _ := json.Marshal(ctx.Req) + reqJson, _ := json.Marshal(ctx.Req.Form) log.Info("reqJson=" + string(reqJson)) + log.Info("query go-get:" + ctx.Query("go-get")) + + log.Info("query service:" + ctx.Query("service")) + paramJson, _ := json.Marshal(ctx.Params) log.Info("paramJson=" + string(paramJson))