лаба 7 не работает просчиталась но где
This commit is contained in:
parent
680de6f191
commit
b6f0aac54b
@ -185,7 +185,7 @@ namespace ConfectioneryBusinessLogic.BusinessLogics
|
||||
}
|
||||
|
||||
MailSendInfoBindingModel mailModel;
|
||||
if (order.Status == OrderStatus.Принят)
|
||||
if (order.Status == OrderStatus.Выполняется)
|
||||
{
|
||||
mailModel = new MailSendInfoBindingModel
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ builder.Services.AddTransient<IPastryLogic, PastryLogic>();
|
||||
builder.Services.AddTransient<IImplementerLogic, ImplementerLogic>();
|
||||
builder.Services.AddTransient<IMessageInfoLogic, MessageInfoLogic>();
|
||||
|
||||
builder.Services.AddTransient<AbstractMailWorker, MailKitWorker>();
|
||||
builder.Services.AddSingleton<AbstractMailWorker, MailKitWorker>();
|
||||
|
||||
builder.Services.AddControllers();
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
|
@ -11,6 +11,6 @@
|
||||
"SmtpClientPort": "587",
|
||||
"PopHost": "pop.gmail.com",
|
||||
"PopPort": "995",
|
||||
"MailLogin": "confectionery73@gmail.com",
|
||||
"MailPassword": "pastry"
|
||||
"MailLogin": "@gmail.com",
|
||||
"MailPassword": "emlb bzfd efdo uknu"
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
<add key="SmtpClientPort" value="587" />
|
||||
<add key="PopHost" value="pop.gmail.com" />
|
||||
<add key="PopPort" value="995" />
|
||||
<add key="MailLogin" value="confectionery73@gmail.com" />
|
||||
<add key="MailPassword" value="pastry" />
|
||||
<add key="MailLogin" value="@gmail.com" />
|
||||
<add key="MailPassword" value="emlb bzfd efdo uknu" />
|
||||
</appSettings>
|
||||
</configuration>
|
Loading…
Reference in New Issue
Block a user