实现奖励类型的增删改查
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user