Commit 8183c52ff40cf1236ca3f062b72a176d108a1bf4
1 parent
1ee26450
修复给角色配置权限
Showing
1 changed file
with
1 additions
and
1 deletions
itcast-auth/itcast-auth-server/src/main/java/com/itheima/authority/controller/auth/RoleController.java
| ... | ... | @@ -173,7 +173,7 @@ public class RoleController extends BaseController { |
| 173 | 173 | |
| 174 | 174 | |
| 175 | 175 | @ApiOperation(value = "给角色配置权限", notes = "给角色配置权限") |
| 176 | - @PutMapping("/authority") | |
| 176 | + @PostMapping("/authority") | |
| 177 | 177 | @SysLog("给角色配置权限") |
| 178 | 178 | public R<Boolean> saveRoleAuthority(@RequestBody RoleAuthoritySaveDTO roleAuthoritySaveDTO) { |
| 179 | 179 | return success(roleAuthorityService.saveRoleAuthority(roleAuthoritySaveDTO)); | ... | ... |