|
|
@ -1174,7 +1174,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
gatewayMerchantApply.notifyOrgMerchantStatus(client);
|
|
|
|
gatewayMerchantApply.notifyOrgMerchantStatus(client);
|
|
|
|
} else if (checkGreenChannel && client.getIntValue("open_status") == 5) {
|
|
|
|
} else if (checkGreenChannel && client.getIntValue("open_status") == 5) {
|
|
|
|
// 绿色通道通过后不发邮件
|
|
|
|
// 绿色通道通过后不发邮件
|
|
|
|
logger.info("PASS 绿色通道:" + clientMoniker);
|
|
|
|
logger.info("PASS 绿色通道:{}", clientMoniker);
|
|
|
|
saveClientAuditProcess(client.getIntValue("client_id"), open_status, 5, "合规通过", manager, 1);
|
|
|
|
saveClientAuditProcess(client.getIntValue("client_id"), open_status, 5, "合规通过", manager, 1);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
initAdminUserAndSendEmail(manager, clientMoniker, client, false);
|
|
|
|
initAdminUserAndSendEmail(manager, clientMoniker, client, false);
|
|
|
@ -1319,12 +1319,6 @@ 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 model = new JSONObject();
|
|
|
|
|
|
|
|
model.put("username", username);
|
|
|
|
|
|
|
|
model.put("password", pwd);
|
|
|
|
|
|
|
|
model.put("client_moniker", client.getString("client_moniker"));
|
|
|
|
|
|
|
|
model.put("contact_person", client.getString("contact_person"));
|
|
|
|
|
|
|
|
model.put("credential_code", client.getString("credential_code"));
|
|
|
|
|
|
|
|
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);
|
|
|
|