feat: 新增找回密码功能接口

This commit is contained in:
橙子
2024-10-03 01:10:32 +08:00
parent 94ee0fb058
commit d7629763ef
13 changed files with 362 additions and 222 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Rbac.Domain.Shared.Enums;
namespace Yi.Framework.Rbac.Domain.Shared.Caches
{
@@ -14,13 +15,15 @@ namespace Yi.Framework.Rbac.Domain.Shared.Caches
public class CaptchaPhoneCacheKey
{
public CaptchaPhoneCacheKey(string phone) { Phone = phone; }
public CaptchaPhoneCacheKey(ValidationPhoneTypeEnum validationPhoneType,string phone) { Phone = phone;
ValidationPhoneType = validationPhoneType;
}
public ValidationPhoneTypeEnum ValidationPhoneType { get; set; }
public string Phone { get; set; }
public override string ToString()
{
return $"Phone:{Phone}";
return $"Phone:{ValidationPhoneType.ToString()}:{Phone}";
}
}
}