gormv2升级 第一阶段

This commit is contained in:
QM303176530
2020-08-23 15:27:00 +08:00
parent 363ff3ba70
commit 48e6ac39e2
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ func OperationRecord() gin.HandlerFunc {
Path: c.Request.URL.Path,
Agent: c.Request.UserAgent(),
Body: string(body),
UserId: userId,
UserID: userId,
}
writer := responseBodyWriter{
ResponseWriter: c.Writer,