ISystemLogApplication.cs 545 B

123456789101112131415161718192021
  1. using Hotline.Share.Dtos.Settings;
  2. using Hotline.Share.Requests;
  3. using Microsoft.AspNetCore.Http;
  4. using SqlSugar;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Hotline.Application.Systems
  11. {
  12. public interface ISystemLogApplication
  13. {
  14. Task AddLog<T>(string name, string res, T entity, HttpContext context,string crName ="");
  15. Task<bool> HasByIpUrlAsync(string ipUrl);
  16. ISugarQueryable<SystemLogDto> GetSystemLotItems(SysLogPagedKeywordRequest dto);
  17. }
  18. }