Commit b9eb7523 by chenweisong

更新

parent 85ae98a0
......@@ -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 {
......
......@@ -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();
......
......@@ -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 {
......
......@@ -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
......
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