using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Domain.Repository;

namespace Hotline.Settings;
public interface ISystemLogRepository : IRepository<SystemLog>
{
    /// <summary>
    /// 添加操作日志
    /// </summary>
    /// <param name="name">方法</param>
    /// <param name="executeParam">入参</param>
    /// <param name="executeUrl">地址</param>
    /// <param name="remark">备注</param>
    /// <param name="status">状态(0失败 1成功)</param>
    /// <returns></returns>
    Task AddAsync(string name, string executeParam = "", string remark = "", string executeUrl = "", int status = 0);
}
