mirror of https://github.com/abpframework/abp.git
committed by
GitHub
3 changed files with 24 additions and 7 deletions
@ -1,9 +1,10 @@ |
|||
using System.Threading.Tasks; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.Sms |
|||
{ |
|||
public interface ISmsSender |
|||
{ |
|||
Task SendAsync(string phoneNumber, string text); |
|||
Task SendAsync(SmsMessage smsMessage); |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,15 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Volo.Abp.Sms |
|||
{ |
|||
public class SmsMessage |
|||
{ |
|||
public string PhoneNumber { get; set; } |
|||
|
|||
public string Text { get; set; } |
|||
|
|||
public IDictionary<string, object> Properties { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue