|
@@ -35,8 +35,8 @@ public class TestController extends BaseController
|
|
|
return R.ok(userList);
|
|
|
}
|
|
|
|
|
|
-// @ApiOperation("获取用户详细")
|
|
|
-// @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
|
|
|
+ @ApiOperation("获取用户详细")
|
|
|
+ @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class)
|
|
|
@GetMapping("/{userId}")
|
|
|
public R<UserEntity> getUser(@PathVariable Integer userId)
|
|
|
{
|