eason.qian 7 years ago
parent d4287e0bc0
commit a3c15325c8

@ -30,8 +30,10 @@ public class ClientInfoCacheSupportImpl implements ClientInfoCacheSupport{
signInAccountService.clearAccountCache(acc.getString("account_id")); signInAccountService.clearAccountCache(acc.getString("account_id"));
} }
JSONObject client = clientManager.getClientInfo(clientId); JSONObject client = clientManager.getClientInfo(clientId);
if(client!=null){
clientInfoCacheSupport.clearClientMonikerCache(client.getString("client_moniker")); clientInfoCacheSupport.clearClientMonikerCache(client.getString("client_moniker"));
} }
}
@Override @Override
@CacheEvict(value = ":app_client_info_moniker:", key = "#clientMoniker") @CacheEvict(value = ":app_client_info_moniker:", key = "#clientMoniker")

Loading…
Cancel
Save