This commit is contained in:
eson 2023-08-28 12:16:49 +08:00
parent 30abb2bb06
commit d139ea2cee

View File

@ -72,7 +72,7 @@ func ParseJwtToken(r *http.Request, svcCtx any) (*auth.UserInfo, error) {
logx.Error(err)
return nil, err
}
log.Println("!= 0", info)
if info != nil {
if info.IsUser() {
// us, err := state.GetUserState(info.UserId) //获取缓存的用户状态