|
|
@ -1371,6 +1371,15 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
|
|
|
|
|
|
|
public void sendInitEmail(final JSONObject client, String username, String pwd, boolean isUpayAuditPass) {
|
|
|
|
public void sendInitEmail(final JSONObject client, String username, String pwd, boolean isUpayAuditPass) {
|
|
|
|
logger.debug("sending email after comply");
|
|
|
|
logger.debug("sending email after comply");
|
|
|
|
|
|
|
|
// 配置了部分组织不发送邮件
|
|
|
|
|
|
|
|
JSONObject sysConfig = sysConfigManager.getSysConfig();
|
|
|
|
|
|
|
|
String[] orgs = sysConfig.getString("no_send_email_org").split(",");
|
|
|
|
|
|
|
|
for (String org : orgs) {
|
|
|
|
|
|
|
|
if (client.getString("org_id").equals(org)) {
|
|
|
|
|
|
|
|
logger.info("Merchant of organization does not send email.(org_id:" + org + ")");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
List<JSONObject> bds = clientBDMapper.listClientBDInfoAvailable(client.getIntValue("client_id"), new Date());
|
|
|
|
List<JSONObject> bds = clientBDMapper.listClientBDInfoAvailable(client.getIntValue("client_id"), new Date());
|
|
|
|
Context ctx = new Context();
|
|
|
|
Context ctx = new Context();
|
|
|
|
ctx.setVariable("bds", bds);
|
|
|
|
ctx.setVariable("bds", bds);
|
|
|
|