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