Skip to content

Commit

Permalink
[修改]1. 修改唯一ID的生成方式
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Aug 4, 2024
1 parent f7b9121 commit 929cbd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task OnLogin(INetWorkChannel workChannel, ReqLogin reqLogin)
var loginState = await OwnerComponent.OnLogin(reqLogin);
if (loginState == null)
{
var accountId = ActorIdGenerator.GetActorId(ActorType.Account);
var accountId = ActorIdGenerator.GetUniqueId(IdModule.Account);
loginState = await OwnerComponent.Register(accountId, reqLogin);
}

Expand Down

0 comments on commit 929cbd3

Please sign in to comment.