getById

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

根据 ID 查询角色

Return

角色信息

Parameters

id

角色 ID