|
@@ -265,5 +265,18 @@ namespace TEAMModelOS.Controllers
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 获取企业开放接口列表
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="jsonElement"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [ProducesDefaultResponseType]
|
|
|
+ [HttpPost("get-openapi")]
|
|
|
+ public async Task<IActionResult> GetOpenApi(JsonElement jsonElement)
|
|
|
+ {
|
|
|
+ var table = _azureStorage.GetCloudTableClient().GetTableReference("IESOpenApi");
|
|
|
+ List<OpenApi> apis = await table.FindListByDict<OpenApi>(new Dictionary<string, object>() { { "PartitionKey", "IES5-API-business" } });
|
|
|
+ return Ok(new { state = RespondCode.Ok, apis });
|
|
|
+ }
|
|
|
}
|
|
|
}
|