pboc正式环境测试
This commit is contained in:
parent
f40875366b
commit
2695ef1505
@ -26,8 +26,8 @@
|
||||
//params.put("fullCertId",CurPage.getParameter("fullcertId"));
|
||||
//params.put("fullName",CurPage.getParameter("fullName"));
|
||||
|
||||
params.put("fullCertId", "622926198501293785");
|
||||
params.put("fullName", "ÍõС¶þ");
|
||||
params.put("fullCertId", "410522198603233216");
|
||||
params.put("fullName", "ÂíÁÁ");
|
||||
FileInputStream fr = null;
|
||||
BufferedReader br = null;
|
||||
try {
|
||||
@ -80,12 +80,18 @@
|
||||
if(html.indexOf(fullCertId) != -1){
|
||||
html = html.replaceAll(fullCertId, newFullCertId);
|
||||
}
|
||||
if(html.indexOf("<script src=\"viewReport_files/report.js\"></script>") != -1) {
|
||||
html = html.replaceAll("<script src=\"viewReport_files/report.js\"></script>", "<script src=\"viewReport_files/report.js\"></script><script src=\"viewReport_files/shuiyin.js\"></script>");
|
||||
if(html.indexOf("<script src=\"../resources/product/p/js/jquery.min.js\"></script>") != -1) {
|
||||
html = html.replaceAll("<script src=\"../resources/product/p/js/jquery.min.js\"></script>", "<script src=\"viewReport_files/jquery.js\"></script><script src=\"viewReport_files/shuiyin.js\"></script>");
|
||||
}
|
||||
if(html.indexOf("viewReport_files") != -1) {
|
||||
html = html.replaceAll("viewReport_files", "Tenwa/Lease/Flow/Comm/BigdataPboc/query_report/viewReport_data");
|
||||
}
|
||||
if(html.indexOf("../resources/product/p/js") != -1) {
|
||||
html = html.replaceAll("../resources/product/p/js", "Tenwa/Lease/Flow/Comm/BigdataPboc/query_report/viewReport_data");
|
||||
}
|
||||
if(html.indexOf("../resources/product/p/css") != -1) {
|
||||
html = html.replaceAll("../resources/product/p/css", "Tenwa/Lease/Flow/Comm/BigdataPboc/query_report/viewReport_data");
|
||||
}
|
||||
if(html.indexOf("<body") != -1) {
|
||||
html = html.replaceAll("<body", "<body style=\"overflow:scroll;height:95%\" ");
|
||||
}
|
||||
|
||||
@ -26,10 +26,10 @@ t_methodType = queryReport
|
||||
|
||||
|
||||
#pboc canshu
|
||||
pboc_url = http://9.35.68.228:8080/pbcrs/api/msgDispatchController/postProcess
|
||||
pboc_url = http://9.35.68.227:9090/pbcrs/api/msgDispatchController/postProcess
|
||||
pboc_txCode = ZXCXA01
|
||||
pboc_reqSysCode = LOCAL
|
||||
pboc_loginUserCode = test
|
||||
pboc_reqSysCode = CX
|
||||
pboc_loginUserCode = zxcx
|
||||
pboc_loginPwd = 123456
|
||||
pboc_finDept = a5adabc8ae00417bbe1b4f54423f4d03
|
||||
pboc_authArchUrl = www.baidu.com
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
org.quartz.dataSource.zhulhDS.URL=jdbc:mysql://47.93.34.101:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false
|
||||
org.quartz.dataSource.zhulhDS.URL=jdbc:mysql://47.93.34.101:10323/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true&useSSL=false
|
||||
org.quartz.dataSource.zhulhDS.user=338A48E135315FDBC2DF24EB080903D7
|
||||
org.quartz.dataSource.zhulhDS.key=431DC9744DEF477868F97C4842F87AB3
|
||||
org.quartz.dataSource.zhulhDS.driver=com.mysql.jdbc.Driver
|
||||
|
||||
@ -44,6 +44,7 @@ public class HttpUtils
|
||||
conn.setRequestProperty("Accept-Charset", "utf-8");
|
||||
conn.setRequestProperty("Content-Type", "application/xml;charset=utf-8");
|
||||
conn.setRequestProperty("Content-Length", Integer.toString(param.length()));
|
||||
conn.setConnectTimeout(3*60*1000);
|
||||
conn.setDoOutput(true);
|
||||
conn.setDoInput(true);
|
||||
out = new PrintWriter(conn.getOutputStream());
|
||||
|
||||
@ -34,12 +34,15 @@ public class PbocXmlUtils {
|
||||
msgBody.put("rptUserdept", "777");//填写部门机构代码
|
||||
|
||||
// msgBody.put("reqId", applyId);
|
||||
msgBody.put("custName", params.get("fullName"));
|
||||
// msgBody.put("custName", params.get("fullName"));
|
||||
msgBody.put("custName", "马亮");
|
||||
msgBody.put("custCertype", "10");//证件类型 10-身份证
|
||||
msgBody.put("custCertno", params.get("fullCertId"));
|
||||
//查询原因 23-客户准入资格审查
|
||||
msgBody.put("qryReason", "23");
|
||||
msgBody.put("custCertno", "410522198603233216");
|
||||
// msgBody.put("custCertno", params.get("fullCertId"));
|
||||
//查询原因 24-融资审批
|
||||
msgBody.put("qryReason", "24");
|
||||
msgBody.put("qryType", "0");//查询类型
|
||||
msgBody.put("rptQryType", "1");//信用报告查询方式:1本地优先,2仅查询本地,3仅查询征信系统。
|
||||
//"01-银行版
|
||||
//02-自助查询版
|
||||
//03-政府版
|
||||
@ -51,8 +54,8 @@ public class PbocXmlUtils {
|
||||
* e-公共信息明细
|
||||
*/
|
||||
msgBody.put("rptRstSegment", "a|b|e");
|
||||
msgBody.put("authStartDt", "2021-03-25");
|
||||
msgBody.put("authEndDt", "2023-05-24");
|
||||
msgBody.put("authStartDt", "2021-06-25");
|
||||
msgBody.put("authEndDt", "2023-07-24");
|
||||
|
||||
msgBody.put("authArchUrl", BigDataPropertiesUtil.get("pboc_authArchUrl"));//授权档案来源URL
|
||||
msgBody.put("certSrcUrl", BigDataPropertiesUtil.get("pboc_certSrcUrl"));//证照来源URL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user