This commit is contained in:
G 2018-12-13 10:19:11 +08:00
commit a8e212d92e
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@
}
as_save("0","saveCertInfo('"+inputName+"','"+inputTel+"','"+projectNo+"')");
}
function saveCertInfo(inputName,inputTel,leasfrom,projectSource,projectNo){
function saveCertInfo(inputName,inputTel,projectNo){
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoManage","saveCompanyInfo",'projectNo='+projectNo+',inputName='+inputName+',inputTel='+inputTel+',flowunid=<%=flowUnid%>');
if(sResult == "SUCCESS"){
parent.reloadSelf();

View File

@ -45,9 +45,9 @@ public class SendMessageUtil{
BizObject messageConfig = messageConfigList.get(0);
String allowSendIps = messageConfig.getAttribute("ALLOW_SEND_IPS").getString();
//添加从服务器ip
String slaveSendIp="{172.28.1.63}";
//String slaveSendIp="{172.28.1.63}";
//判断本机电脑所有配置好的IP是否与短信配置中的符合
if("N".equals(messageConfig.getAttribute("IS_SEND").getString()) || !(getServerIsAllowSendMsg(allowSendIps) || getServerIsAllowSendMsg(slaveSendIp))){
if("N".equals(messageConfig.getAttribute("IS_SEND").getString()) || !(getServerIsAllowSendMsg(allowSendIps))){
System.out.println("短信设置为不发送短信或本机IP未在[允许发送短信的主机IP]之中!");
return "当前系统IP不在允许发送的IP地址之中";
}