|
|
|
@ -45,7 +45,7 @@ public class TestController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("获取用户详细")
|
|
|
|
|
@ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "Integer", paramType = "path")
|
|
|
|
|
@ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path")
|
|
|
|
|
@GetMapping("/{userId}")
|
|
|
|
|
public AjaxResult getUser(@PathVariable Integer userId)
|
|
|
|
|
{
|
|
|
|
@ -89,7 +89,7 @@ public class TestController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("删除用户信息")
|
|
|
|
|
@ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "Integer", paramType = "path")
|
|
|
|
|
@ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path")
|
|
|
|
|
@DeleteMapping("/{userId}")
|
|
|
|
|
public AjaxResult delete(@PathVariable Integer userId)
|
|
|
|
|
{
|
|
|
|
|