Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yysh5
Project
Project
Details
Activity
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
data_server
yysh5
Commits
bab9dd42
Commit
bab9dd42
authored
Sep 11, 2020
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix1
parent
fdd43c12
Pipeline
#28122
failed with stage
in 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
router.js
app/router.js
+1
-1
No files found.
app/router.js
View file @
bab9dd42
...
...
@@ -15,7 +15,7 @@ module.exports = app => {
yysRouter
.
get
(
'/tasks/:taskId'
,
controller
.
task
.
show
);
// 获取任务状态
yysRouter
.
post
(
'/submit'
,
controller
.
task
.
submit
);
// 提交任务参数
yysRouter
.
post
(
'/capture'
,
controller
.
task
.
fetchCapture
);
// 获取验证码
yysRouter
.
post
(
'/getjob'
,
controller
.
task
.
getJob
);
// 思路:
conmit_job
之后 根据回调判断状态 如果状态改变 返回状态 如果不变 返回默认
yysRouter
.
post
(
'/getjob'
,
controller
.
task
.
getJob
);
// 思路:
submit
之后 根据回调判断状态 如果状态改变 返回状态 如果不变 返回默认
yysRouter
.
post
(
'/callback'
,
controller
.
task
.
handleCallback
);
// 处理回调结果,不对外
yysRouter
.
post
(
'/dataCallback'
,
controller
.
task
.
dataCallback
);
// 数据处理完成结果,不对外
...
...
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