Merge pull request #372 from go-admin-team/dev

修复日志插件报错问题
This commit is contained in:
lwnmengjing
2021-03-11 23:58:14 +08:00
committed by GitHub
+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)
}