Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EduSpider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
EduSpider
Commits
9c911c37
Commit
9c911c37
authored
Oct 17, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0f72784c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ActionFilterAttribute.cs
EduSpider.WebApi/Filter/ActionFilterAttribute.cs
+0
-1
Program.cs
EduSpider/Program.cs
+4
-2
No files found.
EduSpider.WebApi/Filter/ActionFilterAttribute.cs
View file @
9c911c37
...
@@ -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
,
...
...
EduSpider/Program.cs
View file @
9c911c37
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment