master
wangning 7 years ago
commit 85b51943d4

@ -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")

@ -182,6 +182,7 @@ public class NoticeManageImpl implements NoticeManage {
} }
} }
try { try {
logger.info(noticeId+"|"+info.getTitle()+"|"+mailto);
String mail_id = mailService.sendEmail(noticeId,info.getTitle(),mailto,info.getContent()); String mail_id = mailService.sendEmail(noticeId,info.getTitle(),mailto,info.getContent());
notice.put("mail_id",mail_id); notice.put("mail_id",mail_id);
noticeManageMapper.updateNotice(notice); noticeManageMapper.updateNotice(notice);

Loading…
Cancel
Save