This commit is contained in:
laodaming 2023-08-03 14:26:40 +08:00
parent 464133be97
commit 1658238ff2

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