Commit 9c911c37 authored by 黄奎's avatar 黄奎

页面修改

parent 0f72784c
...@@ -99,7 +99,6 @@ namespace Edu.WebApi.Filter ...@@ -99,7 +99,6 @@ namespace Edu.WebApi.Filter
{ {
VTX.FW.Helper.LogHelper.WriteError("JWTValidat3", ex: ex); VTX.FW.Helper.LogHelper.WriteError("JWTValidat3", ex: ex);
actionContext.Result = new Microsoft.AspNetCore.Mvc.JsonResult( actionContext.Result = new Microsoft.AspNetCore.Mvc.JsonResult(
HttpStatusCode.OK,
new ApiResult new ApiResult
{ {
Code = (int)ResultCode.TokenIllegal, Code = (int)ResultCode.TokenIllegal,
......
...@@ -13,8 +13,6 @@ namespace EduSpider ...@@ -13,8 +13,6 @@ namespace EduSpider
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
string str = VTX.FW.Helper.DESHepler.Encrypt("082527");
Console.WriteLine(str);
var stopTime = 1000 * 60 *2; var stopTime = 1000 * 60 *2;
long times = 1; long times = 1;
//30分钟执行一次 //30分钟执行一次
...@@ -50,6 +48,10 @@ namespace EduSpider ...@@ -50,6 +48,10 @@ namespace EduSpider
Thread.Sleep(stopTime); Thread.Sleep(stopTime);
} }
times++; times++;
if (times > 100)
{
times = 2;
}
} }
Console.ReadLine(); Console.ReadLine();
Environment.Exit(0); Environment.Exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment