Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datacollector
Overview
Overview
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
chenweisong
datacollector
Commits
235ee9b5
Commit
235ee9b5
authored
Apr 08, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
d7c3dc49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TaskController.java
...in/java/com/keymobile/rest/controller/TaskController.java
+2
-2
No files found.
src/main/java/com/keymobile/rest/controller/TaskController.java
View file @
235ee9b5
...
...
@@ -258,7 +258,7 @@ public class TaskController {
@ApiOperation
(
value
=
"审核通过活动"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"taskId"
,
value
=
"任务id"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"string"
),
@ApiImplicitParam
(
name
=
"status"
,
value
=
"审核状态"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"integer"
,
example
=
"0"
)
@ApiImplicitParam
(
name
=
"status"
,
value
=
"审核状态
1 通过 0 驳回
"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"integer"
,
example
=
"0"
)
})
@PostMapping
(
value
=
"/task/pass/{taskId}/{status}"
)
public
Object
passTask
(
@PathVariable
String
taskId
,
@PathVariable
int
status
)
{
...
...
@@ -304,7 +304,7 @@ public class TaskController {
@ApiOperation
(
value
=
"负责人确认活动通过"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"taskId"
,
value
=
"活动id"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"string"
),
@ApiImplicitParam
(
name
=
"status"
,
value
=
"审核状态"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"integer"
,
example
=
"0"
)
@ApiImplicitParam
(
name
=
"status"
,
value
=
"审核状态
1 通过 0 不通过
"
,
paramType
=
"path"
,
required
=
true
,
dataType
=
"integer"
,
example
=
"0"
)
})
@PostMapping
(
value
=
"/task/confirm/{taskId}/{status}"
)
public
Object
confirmTask
(
@PathVariable
String
taskId
,
@PathVariable
int
status
)
{
...
...
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