forked from gongxuegit/tiku-backend.net
feat: add phase five operations foundation
This commit is contained in:
@@ -15,6 +15,12 @@ public sealed record SmsProviderSendResult(
|
||||
string Status,
|
||||
string? MessageId = null);
|
||||
|
||||
public sealed class SmsProviderException(string message, string code, Exception? innerException = null)
|
||||
: AuthException(code, message)
|
||||
{
|
||||
public Exception? ProviderException { get; } = innerException;
|
||||
}
|
||||
|
||||
public interface ISmsProvider
|
||||
{
|
||||
Task<SmsProviderSendResult> SendAsync(
|
||||
|
||||
Reference in New Issue
Block a user