fix log取消
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using Dlhis.Basic.Common.SysData.Request;
|
using Dlhis.Basic.Common.SysData.Request;
|
||||||
using Dlhis.Basic.Common.SysData.Services;
|
using Dlhis.Basic.Common.SysData.Services;
|
||||||
|
using Kurisu.AspNetCore.UnifyResultAndValidation.Aop;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class MiddlesController : ControllerBase
|
|||||||
/// 健康检查
|
/// 健康检查
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
|
[DisableApiLog]
|
||||||
[HttpPost("healthz")]
|
[HttpPost("healthz")]
|
||||||
public async Task CheckAsync(MiddleHealthCheckRequest request)
|
public async Task CheckAsync(MiddleHealthCheckRequest request)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ using Dlhis.Entity.Device.Enums;
|
|||||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Services;
|
using Kurisu.AspNetCore.DataAccess.SqlSugar.Services;
|
||||||
|
using Kurisu.AspNetCore.UnifyResultAndValidation.Aop;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
@@ -67,6 +68,7 @@ public class DevicesController : ControllerBase
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[DisableApiLog]
|
||||||
[Obsolete("迁移到DeviceConnect")]
|
[Obsolete("迁移到DeviceConnect")]
|
||||||
[HttpPost("heartbeat")]
|
[HttpPost("heartbeat")]
|
||||||
[IgnoreTenant]
|
[IgnoreTenant]
|
||||||
|
|||||||
Reference in New Issue
Block a user