public void delClient(long id) {
        Client client = clientService.getById(id);
        if (client != null) {
            clientService.delClient(id);
            redisson.getBucket(clientRedisKey(client.getClientId())).delete();
        }
    }
@author zlt
<p>
Blog: http://zlt2000.gitee.io
Github: https://github.com/zlt2000
zlt-uaa/src/main/java/com/central/oauth/service/impl/RegisteredClientService.java