This commit is contained in:
mmrbnjd
2025-07-12 16:59:25 +03:30
parent ff342a53c0
commit d397f70b9a
9 changed files with 82 additions and 87 deletions

View File

@@ -1,4 +1,4 @@
using Common.Dtos.User;
using Common.Dtos.Verification;
using Common.Enums;
using System.Net.Http.Json;
@@ -18,10 +18,7 @@ namespace HushianWebApp.Service
string route = type switch
{
VerificationCodeType.PhoneNumberConfirmed => "PhoneNumberConfirmedFromUserName",
VerificationCodeType.ForgetPassword => "ForgetPasswordFromUserName",
VerificationCodeType.ChangeMobile => throw new NotImplementedException(),
VerificationCodeType.Login => throw new NotImplementedException(),
VerificationCodeType.ForgetPassword => "ForgetPassword",
_ => throw new NotImplementedException()
};
var response = await _baseController.Get($"v1/Verification/{route}/{mobile}");