chore: optimize log

This commit is contained in:
Simon Ding
2024-07-30 22:56:17 +08:00
parent eba646f5db
commit 0ea1c040a2
3 changed files with 3 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ func HttpHandler(f func(*gin.Context) (interface{}, error)) gin.HandlerFunc {
})
return
}
log.Debug("url %v return: %+v", ctx.Request.URL, r)
log.Debugf("url %v return: %+v", ctx.Request.URL, r)
ctx.JSON(200, Response{
Code: 0,