Merge branch 'develop' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into guojiayi1
This commit is contained in:
commit
a8e212d92e
@ -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();
|
||||
|
||||
@ -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地址之中";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user