Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
Hiven 2023-08-03 14:38:23 +08:00
commit bf84286ebb

View File

@ -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
}
// 心跳