fix
This commit is contained in:
parent
30abb2bb06
commit
d139ea2cee
|
@ -72,7 +72,7 @@ func ParseJwtToken(r *http.Request, svcCtx any) (*auth.UserInfo, error) {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
log.Println("!= 0", info)
|
||||||
if info != nil {
|
if info != nil {
|
||||||
if info.IsUser() {
|
if info.IsUser() {
|
||||||
// us, err := state.GetUserState(info.UserId) //获取缓存的用户状态
|
// us, err := state.GetUserState(info.UserId) //获取缓存的用户状态
|
||||||
|
|
Loading…
Reference in New Issue
Block a user