更换接口名称
This commit is contained in:
parent
14b8f9e566
commit
35a3ee5b77
|
|
@ -36,7 +36,7 @@ public class RoleController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value="查看角色", notes = "")
|
@ApiOperation(value="查看角色", notes = "")
|
||||||
@GetMapping(value="/{roleId}")
|
@GetMapping(value="/getSingleRole/{roleId}")
|
||||||
public ElectromagneticResult<?> getRole(@PathVariable("roleId") String roleId) {
|
public ElectromagneticResult<?> getRole(@PathVariable("roleId") String roleId) {
|
||||||
return ElectromagneticResultUtil.success(roleService.getRole(roleId));
|
return ElectromagneticResultUtil.success(roleService.getRole(roleId));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue