From 39e066d82b9dcc2dc53e57bc84cc5405a7b6a210 Mon Sep 17 00:00:00 2001 From: zhanglei Date: Thu, 14 Sep 2023 16:46:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E6=8E=A7=E4=B8=AD=E5=8F=B0=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5-=E8=AF=84=E5=88=86=E5=8D=A1=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=EF=BC=8C=E9=9D=9E=E6=9C=AC=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/baic.properties | 1 + src/com/ample/esb/server/WriteScoreResultThread.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/baic.properties b/config/baic.properties index 800a31786..5f20012c1 100644 --- a/config/baic.properties +++ b/config/baic.properties @@ -10,3 +10,4 @@ log_path=D:/tmp/esb/log/ afs_url=http://test-antifraud.baicfc.com/Instinct.UI.WebClient_5.3.1_2023/api/redirect? RSAPublicKey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtmxe7GIws+1RwPtICBi+GKbNEYrqz+xkPZN8Cv3vnyK/cX87n2volMPV1LZBGLyFj2ckyLmIt+uC1SHDio+N9/e695UT2rvTJdP7rho0yA2sXmAqG4pjVA8dPHFgvUIaW/SIwPpqHnPrKTj6YHp5/6Amuvq7W5WujHsM1aq61p0RL6b6CQlwQtXK1MGE95eDJrhY0eO2RcoKBOJgQSa2MdqSSQ9jYuu/9lpoENxvHcHydxFqwzwJtP4Noct9ZplSjxA/OsincK4q6ELSDL3f9ckBXGmZrHDkYVyv0hD1QeC8Pgy3FAppgPPfMXPLUWgswV24/dEJP8qiCTacFfF9iwIDAQAB +rc_score_result_url=http://10.91.122.11:8081/baicaplcredit/businessFlow/rzzlCreditResultForThirdParty.jsp \ No newline at end of file diff --git a/src/com/ample/esb/server/WriteScoreResultThread.java b/src/com/ample/esb/server/WriteScoreResultThread.java index 51064a635..aae045fac 100644 --- a/src/com/ample/esb/server/WriteScoreResultThread.java +++ b/src/com/ample/esb/server/WriteScoreResultThread.java @@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.amarsoft.are.ARE; import com.amarsoft.are.jbo.*; +import com.ample.esb.util.BaicPropertiesUtil; import com.ample.sms.FileUtil; import com.tenwa.httpclient.pboc.PbocXmlUtils; import com.tenwa.reckon.util.UUIDUtil; @@ -102,9 +103,8 @@ public class WriteScoreResultThread extends Thread{ JSONObject blazeResultJson = resJson.getJSONObject("BLAZERESULT");//评分结果项 String resultCode = blazeResultJson.getString("RESULT_CODE");// 评分结果状态 1000为成功,其他失败 String result = blazeResultJson.getString("RESULT");//评分结果 AA RR RD DD - String thirdResultUrl = "http://10.91.122.11:8081/baicaplcredit/businessFlow/rzzlCreditResultForThirdParty.jsp?applicationNo=" - + projectNo + "&transNo=" + tranNo; - + String thirdResultUrl = BaicPropertiesUtil.get("rc_score_result_url") + "?applicationNo=" + projectNo + + "&transNo=" + tranNo; JSONObject fraudResultJson = resJson.getJSONObject("FRAUD_RESULT");// 反欺诈结果 String fraudAlert = null;// 反欺诈预警结果:H、S、C String actionTaken = null;// 反欺诈判定结果:F、K、S、空