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
3cf5519e
Commit
3cf5519e
authored
Mar 24, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
570c19af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
TaskController.java
...in/java/com/keymobile/rest/controller/TaskController.java
+5
-1
application-test.yml
src/main/resources/application-test.yml
+2
-2
No files found.
src/main/java/com/keymobile/rest/controller/TaskController.java
View file @
3cf5519e
...
@@ -274,8 +274,12 @@ public class TaskController {
...
@@ -274,8 +274,12 @@ public class TaskController {
@ApiOperation
(
value
=
"审核通过活动"
)
@ApiOperation
(
value
=
"审核通过活动"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"taskId"
,
value
=
"活动id"
,
paramType
=
"query"
,
required
=
true
,
dataType
=
"long"
)
})
@PostMapping
(
value
=
"/pass"
)
@PostMapping
(
value
=
"/pass"
)
public
ApiResponse
passTask
(
@RequestParam
Long
taskId
)
{
public
ApiResponse
passTask
(
long
taskId
)
{
Activity
activity
=
activityService
.
get
(
taskId
);
Activity
activity
=
activityService
.
get
(
taskId
);
// 完结活动, 流程跑完
// 完结活动, 流程跑完
// User judge = userService.getAudit();
// User judge = userService.getAudit();
...
...
src/main/resources/application-test.yml
View file @
3cf5519e
...
@@ -30,8 +30,8 @@ spring:
...
@@ -30,8 +30,8 @@ spring:
max-file-size
:
20Mb
max-file-size
:
20Mb
max-request-size
:
100Mb
max-request-size
:
100Mb
redis
:
redis
:
#
host: 192.168.0.192
host
:
192.168.0.192
host
:
127.0.0.1
#
host: 127.0.0.1
port
:
6379
port
:
6379
session
:
session
:
store-type
:
redis
store-type
:
redis
...
...
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