refactor🎨 : 管理员id 类型修改
This commit is contained in:
1 parent
746123c888
commit
ab7c34f817
1 file changed
+1
-1
@@ -97,7 +97,7 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string
|
|||||||
}
|
}
|
||||||
b, _ := c.Get("body")
|
b, _ := c.Get("body")
|
||||||
sysOperaLog.OperParam, _ = tools.StructToJsonStr(b)
|
sysOperaLog.OperParam, _ = tools.StructToJsonStr(b)
|
||||||
sysOperaLog.CreateBy = tools.GetUserIdUint(c)
|
sysOperaLog.CreateBy = tools.GetUserId(c)
|
||||||
sysOperaLog.OperTime = tools.GetCurrentTime()
|
sysOperaLog.OperTime = tools.GetCurrentTime()
|
||||||
sysOperaLog.LatencyTime = (latencyTime).String()
|
sysOperaLog.LatencyTime = (latencyTime).String()
|
||||||
sysOperaLog.UserAgent = c.Request.UserAgent()
|
sysOperaLog.UserAgent = c.Request.UserAgent()
|
||||||
|
|||||||
Reference in new issue
Block a user