using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Cosmos; using System.Text.Json; using TEAMModelOS.SDK.DI; using TEAMModelOS.SDK.Models; using TEAMModelOS.SDK; namespace HTEX.Complex.Controllers { [Route("official")] [ApiController] public class OfficialController : ControllerBase { private readonly DingDing _dingDing; // private readonly SnowflakeId _snowflakeId; // private readonly ServerSentEventsService _sse; private readonly AzureCosmosFactory _azureCosmos3Factory; private readonly System.Net.Http.IHttpClientFactory _httpClientFactory; //private readonly Models.Option _option; // private readonly MailFactory _mailFactory; private readonly AzureRedisFactory _azureRedis; private readonly AzureStorageFactory _azureStorage; private readonly IWebHostEnvironment _environment; private readonly IConfiguration _configuration; // private readonly CoreAPIHttpService _coreAPIHttpService; private readonly IPSearcher _searcher; public OfficialController(IWebHostEnvironment environment, IConfiguration configuration, AzureStorageFactory azureStorage, AzureRedisFactory azureRedis, System.Net.Http.IHttpClientFactory httpClientFactory, AzureCosmosFactory azureCosmos3Factory, // IOptionsSnapshot