|
@@ -50,7 +50,6 @@ namespace TEAMModelBI.Controllers.BITmid
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
- //[AuthToken(Roles = "admin")]
|
|
|
[Authorize(Roles = "IES")]
|
|
|
[HttpPost("get-tmidstics")]
|
|
|
public async Task<IActionResult> GetTmidStics(JsonElement jsonElement)
|
|
@@ -538,7 +537,7 @@ namespace TEAMModelBI.Controllers.BITmid
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
- //[AuthToken(Roles = "admin")]
|
|
|
+ [Authorize(Roles = "IES")]
|
|
|
[HttpPost("get-tmid-iot")]
|
|
|
public async Task<IActionResult> GetTmidIot(JsonElement jsonElement)
|
|
|
{
|
|
@@ -642,7 +641,6 @@ namespace TEAMModelBI.Controllers.BITmid
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
[ProducesDefaultResponseType]
|
|
|
- //[AuthToken(Roles = "admin")]
|
|
|
[Authorize(Roles = "IES")]
|
|
|
[HttpPost("get-tmid-useprod")]
|
|
|
public async Task<IActionResult> GetTmidUseProd(JsonElement jsonElement)
|