delete user and authority info

This commit is contained in:
许晓东
2021-09-02 19:56:21 +08:00
parent 4f30511293
commit 75ee8bb2bf
11 changed files with 161 additions and 36 deletions

View File

@@ -37,4 +37,10 @@ public class AclUserController {
public Object deleteUser(@RequestBody AclUser user) {
return aclService.deleteUser(user.getUsername());
}
@DeleteMapping("/auth")
public Object deleteUserAndAuth(@RequestBody AclUser user) {
return aclService.deleteUserAndAuth(user.getUsername());
}
}