using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text.Json; using System.Threading.Tasks; using System; using TEAMModelOS.SDK; using System.IO; using TEAMModelOS.SDK.Models; using TEAMModelOS.SDK.DI; using Microsoft.Extensions.Options; using System.Net.Http; using TEAMModelOS.Models; namespace TEAMModelBI.Controllers.BISystem { [Route("core")] [ApiController] public class CoreController : ControllerBase { private readonly AzureCosmosFactory _azureCosmos; private readonly AzureRedisFactory _azureRedis; private readonly AzureStorageFactory _azureStorage; private readonly DingDing _dingDing; private readonly IPSearcher _searcher; private readonly Option _option; public CoreController(AzureCosmosFactory azureCosmos, AzureRedisFactory azureRedis, AzureStorageFactory azureStorage, DingDing dingDing, IOptionsSnapshot