getById

@GetMapping(value = ["/{id:\d+}"])
fun getById(@PathVariable id: Long): User?

根据 ID 查询用户

Return

用户信息

Parameters

id

用户 ID