You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
588 B
21 lines
588 B
using LINGYUN.Platform.Messages;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Sms;
|
|
|
|
namespace LY.MicroService.Applications.Single.Messages;
|
|
|
|
|
|
[Dependency(ReplaceServices = true)]
|
|
[ExposeServices(typeof(ISmsMessageManager), typeof(SmsMessageManager))]
|
|
public class PlatformSmsMessageManager : SmsMessageManager
|
|
{
|
|
public PlatformSmsMessageManager(
|
|
ISmsMessageRepository repository) : base(repository)
|
|
{
|
|
}
|
|
|
|
protected override ISmsSender GetSmsSender()
|
|
{
|
|
return LazyServiceProvider.GetRequiredKeyedService<ISmsSender>("DefaultSmsSender");
|
|
}
|
|
}
|
|
|