Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
e01a7a2654
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      routers/repo/http.go

+ 5
- 1
routers/repo/http.go View File

@@ -318,9 +318,13 @@ func HTTP(ctx *context.Context) {
dataJson, _ := json.Marshal(ctx.Data) dataJson, _ := json.Marshal(ctx.Data)
log.Info("dataJson=" + string(dataJson)) log.Info("dataJson=" + string(dataJson))


reqJson, _ := json.Marshal(ctx.Req)
reqJson, _ := json.Marshal(ctx.Req.Form)
log.Info("reqJson=" + string(reqJson)) 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) paramJson, _ := json.Marshal(ctx.Params)
log.Info("paramJson=" + string(paramJson)) log.Info("paramJson=" + string(paramJson))




Loading…
Cancel
Save