using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using TEAMModelOS.Models; using TEAMModelOS.SDK; using TEAMModelOS.SDK.DI; using TEAMModelOS.SDK.Models; using TEAMModelOS.SDK.Models.Service; using static TEAMModelOS.SDK.Models.Teacher; namespace TEAMModelBI.Controllers.BITest { [Route("iesapitest")] [ApiController] public class Ies5TestController : ControllerBase { private readonly AzureCosmosFactory _azureCosmos; private readonly AzureRedisFactory _azureRedis; private readonly DingDing _dingDing; private readonly Option _option; private readonly AzureStorageFactory _azureStorage; private readonly IWebHostEnvironment _environment; //读取文件 //读取配置文件 private readonly IConfiguration _configuration; private readonly CoreAPIHttpService _coreAPIHttpService; private readonly HttpClient _httpClient; public Ies5TestController(AzureCosmosFactory azureCosmos, AzureRedisFactory azureRedis, DingDing dingDing, AzureStorageFactory azureStorage, IOptionsSnapshot