更换接口名称

This commit is contained in:
s2042968 2024-12-26 17:00:15 +08:00
parent 14b8f9e566
commit 35a3ee5b77
1 changed files with 1 additions and 1 deletions

View File

@ -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));
} }