fix 禁用一些日志输出
This commit is contained in:
@@ -76,6 +76,7 @@ public class DevicesConnectController : ControllerBase
|
||||
/// <param name="brand"></param>
|
||||
/// <param name="factory"></param>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[HttpGet("brand-devices")]
|
||||
[IgnoreTenant]
|
||||
public async Task<List<DeviceUniqueWithConnectionInfoDto>> GetDeviceUniqueInfoByBrandAsync(
|
||||
|
||||
@@ -5,6 +5,7 @@ using Dlhis.Basic.Organization.Services;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Kurisu.AspNetCore.UnifyResultAndValidation;
|
||||
using Kurisu.AspNetCore.UnifyResultAndValidation.Aop;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -32,6 +33,7 @@ public class GainfosController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[HttpPost("page")]
|
||||
public async Task<Pagination<GainfoPageResponse>> GetPageAsync(GainfoPageRequest request)
|
||||
{
|
||||
@@ -54,6 +56,7 @@ public class GainfosController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[HttpGet("page-all")]
|
||||
public async Task<Pagination<GainfoAllPageResponse>> GetPageByCodeAsync(string code)
|
||||
{
|
||||
@@ -75,6 +78,7 @@ public class GainfosController : ControllerBase
|
||||
/// 上传人脸照片
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[HttpPost("face")]
|
||||
[IgnoreTenant]
|
||||
[Transactional]
|
||||
@@ -93,6 +97,7 @@ public class GainfosController : ControllerBase
|
||||
/// 上传外部人员人脸照片
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[AllowAnonymous]
|
||||
[IgnoreTenant]
|
||||
[HttpPost("external/face")]
|
||||
@@ -106,6 +111,7 @@ public class GainfosController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="idno"></param>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[AllowAnonymous]
|
||||
[HttpGet("external/face")]
|
||||
public async Task<string> GetExternalFaceAsync(string idno)
|
||||
@@ -118,6 +124,7 @@ public class GainfosController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[DisableApiLog]
|
||||
[HttpPost("batchface")]
|
||||
[IgnoreTenant]
|
||||
public async Task UploadFaceAsync(List<GainfoUploadFaceRequest> request)
|
||||
|
||||
Reference in New Issue
Block a user