Browse Source

提交代码。

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

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

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

reqJson, _ := json.Marshal(ctx.Req.Request)
reqJson, _ := json.Marshal(ctx.Req)
log.Info("reqJson=" + string(reqJson))

paramJson, _ := json.Marshal(ctx.Params)
log.Info("paramJson=" + string(paramJson))

if service == "git-upload-pack" { // clone_cnt
go repo.IncreaseCloneCnt()
}


Loading…
Cancel
Save