网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using Dpz.Core.Public.ViewModel.AppLogs;
using Seq.Api.Model.Events;

namespace Dpz.Core.Service.RepositoryService;

public interface IAppLogEntryService
{
    /// <summary>
    /// 获取日志
    /// </summary>
    /// <param name="filter"></param>
    /// <param name="startAtId"></param>
    /// <param name="afterId"></param>
    /// <param name="pageSize"></param>
    /// <returns></returns>
    Task<ResultSetPart?> GetPageAsync(
        string? filter = null,
        string? startAtId = null,
        string? afterId = null,
        int pageSize = 20);

    /// <summary>
    /// 获取最新访问次数
    /// <param name="days">null is today</param>
    /// </summary>
    /// <returns></returns>
    Task<List<AccessSummary>> GetLatestAccessNumberAsync(int? days = null);
}
loading