实现奖励类型的增删改查

This commit is contained in:
2025-06-17 16:25:04 +08:00
parent 3dceeeddb7
commit 427e70f94e
29 changed files with 1175 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func Auth(r *ghttp.Request) {
r.SetCtxVar("id", tokenOut.UserId)
r.SetCtxVar("role", tokenOut.Role)
r.SetCtxVar("jti", tokenOut.JTI)
glog.Infof(ctx, "%s用户访问: %s %s", tokenOut.Role, r.URL.Path, r.Method)
glog.Infof(ctx, "%s用户Id:%d 访问: %s %s", tokenOut.Role, tokenOut.UserId, r.URL.Path, r.Method)
}
r.Middleware.Next()
}