This commit is contained in:
laodaming 2023-08-24 11:03:33 +08:00
parent 6d707fa9df
commit db315accee

View File

@ -206,6 +206,8 @@ func (l *DataTransferLogic) checkAuth(r *http.Request) (isAuth bool, userInfo *a
if !userInfo.IsUser() && !userInfo.IsGuest() {
return false, nil
}
userInfo.UserId = 39
userInfo.GuestId = 39
return true, userInfo
}
return false, nil