Skip to content

Commit

Permalink
Fix audit log recorded wrong status
Browse files Browse the repository at this point in the history
  • Loading branch information
Cairry authored Jul 26, 2024
1 parent 46aa04a commit 394cb0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/middleware/AuditingLog.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func AuditingLog() gin.HandlerFunc {
return
}

// 当请求处理完成后才会执行 Next() 后面的代码
context.Next()

ps := models.PermissionsInfo()
auditLog := models.AuditLog{
TenantId: tid,
Expand Down

0 comments on commit 394cb0b

Please sign in to comment.