修复日志插件报错问题

This commit is contained in:
linwenxiang
2021-03-11 23:36:56 +08:00
parent 8a471e1db7
commit fa30b8db95
+1
View File
@@ -134,5 +134,6 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string
}
serviceOperaLog := service.SysOperaLog{}
serviceOperaLog.Orm = db
serviceOperaLog.Log = log
_ = serviceOperaLog.InsertSysOperaLog(&sysOperaLog)
}