You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
596 B
25 lines
596 B
2 years ago
|
using Znyc.Cloudcar.Admin.Security.IServices;
|
||
|
|
||
|
namespace Znyc.Cloudcar.Admin.Hangfire
|
||
|
{
|
||
|
public class AutoStatisticalJob
|
||
|
{
|
||
|
private readonly IStatisticalService _statisticalService;
|
||
|
|
||
|
public AutoStatisticalJob(IStatisticalService statisticalService)
|
||
|
{
|
||
|
_statisticalService = statisticalService;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 添加统计数据
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
public async Task InsertStatisticalExecute()
|
||
|
{
|
||
|
await _statisticalService.InsertAsync();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|