Commit b9eb7523 by chenweisong

更新

parent 85ae98a0
...@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@Api(tags = "模板 控制器", description = "Excel Info") @Api(tags = "模板 控制器", description = "Excel Mgr")
@RestController @RestController
public class ExcelController { public class ExcelController {
......
...@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.*; import java.util.*;
@Api(tags = "活动 控制器", description = "Task Info") @Api(tags = "活动 控制器", description = "Task Mgr")
@RestController @RestController
public class TaskController { public class TaskController {
...@@ -94,10 +94,10 @@ public class TaskController { ...@@ -94,10 +94,10 @@ public class TaskController {
@ApiOperation(value = "获取我的任务", notes = "任务列表") @ApiOperation(value = "获取我的任务", notes = "任务列表")
@ApiImplicitParams({ @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}") @GetMapping(value = "/task/getMyTasks")
public List<Mission> getMyMissions(@PathVariable long userId) { public List<Mission> getMyMissions(long userId) {
Map user = feignAuthService.getUserById(userId); Map user = feignAuthService.getUserById(userId);
CommonValidator.notNull(user, "用户不存在"); CommonValidator.notNull(user, "用户不存在");
String username = user.get("name").toString(); String username = user.get("name").toString();
......
...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.*; import java.util.*;
@Api(description = "User Info", tags = "用户/用户组/机构 控制器") @Api(description = "User Mgr", tags = "用户/用户组/机构 控制器")
@RestController @RestController
public class UserController { public class UserController {
......
...@@ -57,8 +57,8 @@ app: ...@@ -57,8 +57,8 @@ app:
active-process: MoreSubProcessStandard.bpmn active-process: MoreSubProcessStandard.bpmn
swagger2: swagger2:
# host: 192.168.0.240:8762/api/datacollector host: 192.168.0.240:8762/api/datacollector
host: localhost:8110 # host: localhost:8110
security: security:
authUser: root authUser: root
authPwd: pwd authPwd: pwd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment