333
This commit is contained in:
40
MyCode.Project.ScheduleTask/Jobs/OpenIdJob.cs
Normal file
40
MyCode.Project.ScheduleTask/Jobs/OpenIdJob.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using Quartz;
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using MyCode.Project.Services;
|
||||
using MyCode.Project.Infrastructure;
|
||||
using MyCode.Project.Infrastructure.UnityExtensions;
|
||||
using Microsoft.Practices.Unity;
|
||||
using System.Reflection;
|
||||
using MyCode.Project.Domain.Model;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
|
||||
namespace MyCode.Project.ScheduleTask.Jobs
|
||||
{
|
||||
public class OpenIdJob : IJob
|
||||
{
|
||||
|
||||
private IStaffDataEnterpriseWechatService _staffDataEnterpriseWechatService;
|
||||
|
||||
|
||||
public OpenIdJob(IStaffDataEnterpriseWechatService staffDataEnterpriseWechatService
|
||||
)
|
||||
{
|
||||
_staffDataEnterpriseWechatService = staffDataEnterpriseWechatService;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void Execute(IJobExecutionContext context)
|
||||
{
|
||||
|
||||
_staffDataEnterpriseWechatService.TaskAddOpenIdJob();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user