Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
bf84286ebb
|
@ -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