|
|
|
@ -591,8 +591,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
if (clientMapper.findClientByMoniker(registery.getClientMoniker()) != null) {
|
|
|
|
|
throw new BadRequestException("error.partner.valid.dumplicate_client_moniker");
|
|
|
|
|
}
|
|
|
|
|
//检查商户是否进入系统黑名单
|
|
|
|
|
isRiskyMerchant(partner, null);
|
|
|
|
|
//2018-09-10,新建商户不检查是否在系统黑名单
|
|
|
|
|
//isRiskyMerchant(partner, null);
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
@ -1184,6 +1184,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(manager, clientMoniker, "enable_hf_email_notice", allow));
|
|
|
|
|
}
|
|
|
|
|
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(manager, clientMoniker, "enable_" + channel.toLowerCase(), allow));
|
|
|
|
|
|
|
|
|
|
if (channel.equals("Wehcat") || channel.equals("Alipay")) {
|
|
|
|
|
|
|
|
|
|
isRiskyMerchant(client,null);
|
|
|
|
|
}
|
|
|
|
|
logger.info(manager.getString("display_name") + "(" + manager.getString("manager_id") + ") switched client " + clientMoniker + " channel "
|
|
|
|
|
+ channel + " to " + allow);
|
|
|
|
|
return;
|
|
|
|
|