|
@@ -4,7 +4,6 @@ using Microsoft.AspNetCore.Mvc;
|
|
|
using Microsoft.Extensions.Configuration;
|
|
|
using Microsoft.Extensions.Options;
|
|
|
using System.Net.Http;
|
|
|
-using TEAMModelOS.SDK.DI.CoreAPI;
|
|
|
using TEAMModelOS.SDK.DI;
|
|
|
using TEAMModelOS.SDK;
|
|
|
using TEAMModelOS.Models;
|
|
@@ -38,12 +37,11 @@ namespace TEAMModelBI.Controllers.RepairApi
|
|
|
private readonly AzureStorageFactory _azureStorage;
|
|
|
private readonly AzureRedisFactory _azureRedis;
|
|
|
private readonly IConfiguration _configuration;
|
|
|
- private readonly NotificationService _notificationService;
|
|
|
private readonly CoreAPIHttpService _coreAPIHttpService;
|
|
|
private readonly IWebHostEnvironment _environment; //读取文件
|
|
|
private readonly IHttpClientFactory _httpClient;
|
|
|
|
|
|
- public SchoolRepController(AzureCosmosFactory azureCosmos, DingDing dingDing, AzureStorageFactory azureStorage, IOptionsSnapshot<Option> option, AzureRedisFactory azureRedis, IConfiguration configuration, NotificationService notificationService, CoreAPIHttpService coreAPIHttpService, IHttpClientFactory httpClient, IWebHostEnvironment hostingEnvironment)
|
|
|
+ public SchoolRepController(AzureCosmosFactory azureCosmos, DingDing dingDing, AzureStorageFactory azureStorage, IOptionsSnapshot<Option> option, AzureRedisFactory azureRedis, IConfiguration configuration, CoreAPIHttpService coreAPIHttpService, IHttpClientFactory httpClient, IWebHostEnvironment hostingEnvironment)
|
|
|
{
|
|
|
_azureCosmos = azureCosmos;
|
|
|
_dingDing = dingDing;
|
|
@@ -51,7 +49,6 @@ namespace TEAMModelBI.Controllers.RepairApi
|
|
|
_option = option?.Value;
|
|
|
_azureRedis = azureRedis;
|
|
|
_configuration = configuration;
|
|
|
- _notificationService = notificationService;
|
|
|
_coreAPIHttpService = coreAPIHttpService;
|
|
|
_httpClient = httpClient;
|
|
|
_environment = hostingEnvironment;
|