增加配置
This commit is contained in:
@@ -182,7 +182,9 @@ namespace WMS.Web.Repositories.DependencyInjection
|
||||
Services.Configure<EmailOptions>(Configuration.GetSection("EmailOptions"));
|
||||
Services.AddOptions<SmsOptions>();
|
||||
Services.Configure<SmsOptions>(Configuration.GetSection("SmsOptions"));
|
||||
|
||||
Services.AddOptions<lingXingOptions>();
|
||||
Services.Configure<lingXingOptions>(Configuration.GetSection("LingXingOptions"));
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -345,6 +347,7 @@ namespace WMS.Web.Repositories.DependencyInjection
|
||||
Services.AddTransient<ISendMessageService, SendMessageService>();
|
||||
Services.AddTransient<IMaterialService, MaterialService>();
|
||||
Services.AddTransient<IRedisConcurrentProcessService, RedisConcurrentProcessService>();
|
||||
Services.AddTransient<ILingXingService, LingXingService>();
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user