fix
This commit is contained in:
parent
464133be97
commit
1658238ff2
|
@ -146,10 +146,13 @@ func (l *DataTransferLogic) checkAuth(svcCtx *svc.ServiceContext, r *http.Reques
|
|||
if err != nil {
|
||||
return false, nil
|
||||
}
|
||||
} else {
|
||||
return false, nil
|
||||
//不是登录用户也不是游客
|
||||
if !userInfo.IsUser() && !userInfo.IsGuest() {
|
||||
return false, nil
|
||||
}
|
||||
return true, userInfo
|
||||
}
|
||||
return true, userInfo
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// 心跳
|
||||
|
|
Loading…
Reference in New Issue
Block a user