This commit is contained in:
DismissedLight
2023-10-13 21:42:36 +08:00
parent c0165c57fd
commit 06c5bcad3e
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ internal interface ISupportLoginByWebView
{
(UserOptionResult result, string nickname) = await serviceProvider
.GetRequiredService<IUserService>()
.ProcessInputCookieAsync(cookie, false)
.ProcessInputCookieAsync(cookie, isOversea)
.ConfigureAwait(false);
serviceProvider.GetRequiredService<INavigationService>().GoBack();

View File

@@ -57,7 +57,7 @@ internal sealed partial class SignInClientOversea : ISignInClient
HttpRequestMessageBuilder builder = httpRequestMessageBuilderFactory.Create()
.SetRequestUri(ApiOsEndpoints.SignInRewardSign)
.SetUserCookie(userAndUid, CookieType.CookieToken)
.PostJson(new SignInData(userAndUid.Uid, false));
.PostJson(new SignInData(userAndUid.Uid, true));
Response<SignInResult>? resp = await builder
.TryCatchSendAsync<Response<SignInResult>>(httpClient, logger, token)
@@ -73,7 +73,7 @@ internal sealed partial class SignInClientOversea : ISignInClient
.SetRequestUri(ApiOsEndpoints.SignInRewardSign)
.SetUserCookie(userAndUid, CookieType.CookieToken)
.SetXrpcChallenge(challenge, validate)
.PostJson(new SignInData(userAndUid.Uid, false));
.PostJson(new SignInData(userAndUid.Uid, true));
resp = await verifiedBuilder
.TryCatchSendAsync<Response<SignInResult>>(httpClient, logger, token)