You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
537 B
C#
23 lines
537 B
C#
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();
|
|
}
|
|
}
|
|
} |