using Masuit.MyBlogs.Core.Models.DTO;
using Masuit.MyBlogs.Core.Models.Entity;
using Masuit.MyBlogs.Core.Models.Enum;
namespace Masuit.MyBlogs.Core.Extensions.Hangfire
{
///
/// hangfire后台任务
///
public interface IHangfireBackJob
{
///
/// 登陆记录
///
///
///
///
void LoginRecord(UserInfoOutputDto userInfo, string ip, LoginType type);
///
/// 文章定时发表
///
///
void PublishPost(Post p);
///
/// 文章访问记录
///
///
void RecordPostVisit(int pid);
///
/// 每日任务
///
void EverydayJob();
///
/// 友链检查
///
void CheckLinks();
///
/// 重建Lucene索引库
///
void CreateLiceneIndex();
}
}