fix: fix name error

This commit is contained in:
zhangwenjian committed 2020-07-10 00:16:33 +08:00
1 parent 16d6aebbc2
commit 84a78d7b4f
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string
b, _ := c.Get("body")
sysOperLog.OperParam, _ = tools.StructToJsonStr(b)
sysOperLog.CreateBy = tools.GetUserName(c)
sysOperLog.OperTime = tools.GetCurrntTime()
sysOperLog.OperTime = tools.GetCurrentTime()
sysOperLog.LatencyTime = (latencyTime).String()
sysOperLog.UserAgent = c.Request.UserAgent()
if c.Err() == nil {