master
wangning 7 years ago
parent 8bbba61d9d
commit 9ac5efbcc1

@ -741,7 +741,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
throw new BadRequestException("Email validating... Wait for a moment"); throw new BadRequestException("Email validating... Wait for a moment");
} }
int clientId = client.getIntValue("client_id"); int clientId = client.getIntValue("client_id");
clientModifySupport.processClientConfigModify(new EmailModify(manager, clientMoniker, 4, null)); clientModifySupport.processClientModify(new EmailModify(manager, clientMoniker, 4, null));
if (ManagerRole.BD_USER.hasRole(manager.getIntValue("role"))) { if (ManagerRole.BD_USER.hasRole(manager.getIntValue("role"))) {
int checkBDPermission = clientBDMapper.checkBDPermission(clientId, manager.getString("manager_id")); int checkBDPermission = clientBDMapper.checkBDPermission(clientId, manager.getString("manager_id"));
if (checkBDPermission <= 0) { if (checkBDPermission <= 0) {
@ -849,7 +849,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
try { try {
String emailId = mailService.sendEmail("Your Partner Account Has Been Authenticated Successfully", mailTo, String emailId = mailService.sendEmail("Your Partner Account Has Been Authenticated Successfully", mailTo,
emails.isEmpty() ? "" : StringUtils.join(emails, ","), content); emails.isEmpty() ? "" : StringUtils.join(emails, ","), content);
clientModifySupport.processClientConfigModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId)); clientModifySupport.processClientModify(new EmailModify(account, client.getString("client_moniker"), 3, emailId));
} catch (Exception e) { } catch (Exception e) {
throw new EmailException("Email Sending Failed", e); throw new EmailException("Email Sending Failed", e);
} }

Loading…
Cancel
Save