using DSWeb.Areas.Dispatch.DB; using DSWeb.Areas.Storage.Helper; using log4net; using Quartz; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; namespace DSWeb.Areas.Storage.Job { public class RefreshTokenJob: IJob { private ILog logger = LogManager.GetLogger("RefreshTokenJob"); public void Execute(IJobExecutionContext context) { logger.Debug("正在刷新token"); TokenHelper.RefreshTokens(); } } }