移动系统liao
2024-06-14 4b21b877847a4e9abe07091b7f8381f7a7c44e98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/***********************************************************************
 *            Project: baifenBinfa.Net                                     *
 *                Web: https://baifenBinfa.com                             *
 *        ProjectName: 百分兵法管理系统                               *
 *             Author:                                        *
 *              Email:                               *
 *         CreateTime: 2024-03-11 09:33:00
 *        Description: 暂无
 ***********************************************************************/
 
 
using System;
using CoreCms.Net.IServices;
using CoreCms.Net.Loging;
using CoreCms.Net.Model.Entities;
using Newtonsoft.Json;
using NLog;
 
namespace CoreCms.Net.Task
{
    /// <summary>
    ///     定时清理用户连续签到信息
    /// </summary>
    public class ClearUserContinuousCheckInJob
    {
        private readonly ICoreCmsUserCheckInServices _checkInServices;
 
        public ClearUserContinuousCheckInJob(ICoreCmsUserCheckInServices checkInServices)
        {
            _checkInServices = checkInServices;
        }
 
        public async System.Threading.Tasks.Task Execute()
        {
            await _checkInServices.ClearUserContinuousCheckIn();
        }
    }
}