refactor🎨 : 管理员id 类型修改

This commit is contained in:
zhangwenjian committed 2020-12-21 22:03:12 +08:00
1 parent 746123c888
commit ab7c34f817
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string
}
b, _ := c.Get("body")
sysOperaLog.OperParam, _ = tools.StructToJsonStr(b)
sysOperaLog.CreateBy = tools.GetUserIdUint(c)
sysOperaLog.CreateBy = tools.GetUserId(c)
sysOperaLog.OperTime = tools.GetCurrentTime()
sysOperaLog.LatencyTime = (latencyTime).String()
sysOperaLog.UserAgent = c.Request.UserAgent()