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
b9eb7523
Commit
b9eb7523
authored
Apr 02, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
85ae98a0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
ExcelController.java
...n/java/com/keymobile/rest/controller/ExcelController.java
+1
-1
TaskController.java
...in/java/com/keymobile/rest/controller/TaskController.java
+4
-4
UserController.java
...in/java/com/keymobile/rest/controller/UserController.java
+1
-1
application-test.yml
src/main/resources/application-test.yml
+2
-2
No files found.
src/main/java/com/keymobile/rest/controller/ExcelController.java
View file @
b9eb7523
...
...
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.HashMap
;
import
java.util.Map
;
@Api
(
tags
=
"模板 控制器"
,
description
=
"Excel
Info
"
)
@Api
(
tags
=
"模板 控制器"
,
description
=
"Excel
Mgr
"
)
@RestController
public
class
ExcelController
{
...
...
src/main/java/com/keymobile/rest/controller/TaskController.java
View file @
b9eb7523
...
...
@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.*
;
@Api
(
tags
=
"活动 控制器"
,
description
=
"Task
Info
"
)
@Api
(
tags
=
"活动 控制器"
,
description
=
"Task
Mgr
"
)
@RestController
public
class
TaskController
{
...
...
@@ -94,10 +94,10 @@ public class TaskController {
@ApiOperation
(
value
=
"获取我的任务"
,
notes
=
"任务列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"userId"
,
value
=
"用户id"
,
paramType
=
"
path
"
,
required
=
true
,
dataType
=
"long"
,
defaultValue
=
"3"
)
@ApiImplicitParam
(
name
=
"userId"
,
value
=
"用户id"
,
paramType
=
"
query
"
,
required
=
true
,
dataType
=
"long"
,
defaultValue
=
"3"
)
})
@GetMapping
(
value
=
"/task/getMyTasks
/{userId}
"
)
public
List
<
Mission
>
getMyMissions
(
@PathVariable
long
userId
)
{
@GetMapping
(
value
=
"/task/getMyTasks"
)
public
List
<
Mission
>
getMyMissions
(
long
userId
)
{
Map
user
=
feignAuthService
.
getUserById
(
userId
);
CommonValidator
.
notNull
(
user
,
"用户不存在"
);
String
username
=
user
.
get
(
"name"
).
toString
();
...
...
src/main/java/com/keymobile/rest/controller/UserController.java
View file @
b9eb7523
...
...
@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.*
;
@Api
(
description
=
"User
Info
"
,
tags
=
"用户/用户组/机构 控制器"
)
@Api
(
description
=
"User
Mgr
"
,
tags
=
"用户/用户组/机构 控制器"
)
@RestController
public
class
UserController
{
...
...
src/main/resources/application-test.yml
View file @
b9eb7523
...
...
@@ -57,8 +57,8 @@ app:
active-process
:
MoreSubProcessStandard.bpmn
swagger2
:
#
host: 192.168.0.240:8762/api/datacollector
host
:
localhost:8110
host
:
192.168.0.240:8762/api/datacollector
#
host: localhost:8110
security
:
authUser
:
root
authPwd
:
pwd
...
...
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