You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
455 B
C#
26 lines
455 B
C#
namespace NPin.Framework.Upms.Domain.Shared.Caches;
|
|
|
|
public class CaptchaPhoneCacheItem
|
|
{
|
|
public string Code { get; set; }
|
|
|
|
public CaptchaPhoneCacheItem(string code)
|
|
{
|
|
Code = code;
|
|
}
|
|
}
|
|
|
|
public class CaptchaPhoneCacheKey
|
|
{
|
|
public string Phone { get; set; }
|
|
|
|
public CaptchaPhoneCacheKey(string phone)
|
|
{
|
|
Phone = phone;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Phone: {Phone}";
|
|
}
|
|
} |