Commit 52ebbd99 authored by 张庆's avatar 张庆

请求参数

parent b9322924
...@@ -90,7 +90,7 @@ public class AbcHttpClient { ...@@ -90,7 +90,7 @@ public class AbcHttpClient {
try { try {
//授信查询接口demo //授信查询接口demo
String param = "{\"approvalAmount\":\"10000.0000\",\"remark\":\"授信通过\",\"status\":\"1\",\"transNo\":\"b75e1cafbbcd44229a61e5aeb3b514b2\",\"orderNo\":\"202310237010\"}"; String param = "{\"reqNo\":\"xiaohua_fenrun_test2023102316521602422820\",\"type\":\"01\"}";
String ypdPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmjHH4WCuyKPDDY4gp6DJatkCdhyScKQLytmug5ITGQBlUaWINosmx9PhBU+B4YNrrZ/XvQb7AWKz5jX2ZxTlGJ4FuAsE1lNg4FPpQe/v/MjQCnE/tWqrB41apFeTMXaDSH3ceDusOxU2fsgrltzcgjMT6NCLNv1nVpFaO7UwRlidQHXGxPxgleQmDqooQCPzalb3kW1ipkmAc83XKKktNBOQuKtDJKdZjmlDMKGeXWAMyYtdMquNEei/fo9FDNcLuisClujtxsDnknagC+aza5uRgraAz993LRBnzthS2sdSr++d/Qn1UvonKDpCodp9sLpIAyxUP3xrQXFLDwDa9wIDAQAB"; String ypdPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmjHH4WCuyKPDDY4gp6DJatkCdhyScKQLytmug5ITGQBlUaWINosmx9PhBU+B4YNrrZ/XvQb7AWKz5jX2ZxTlGJ4FuAsE1lNg4FPpQe/v/MjQCnE/tWqrB41apFeTMXaDSH3ceDusOxU2fsgrltzcgjMT6NCLNv1nVpFaO7UwRlidQHXGxPxgleQmDqooQCPzalb3kW1ipkmAc83XKKktNBOQuKtDJKdZjmlDMKGeXWAMyYtdMquNEei/fo9FDNcLuisClujtxsDnknagC+aza5uRgraAz993LRBnzthS2sdSr++d/Qn1UvonKDpCodp9sLpIAyxUP3xrQXFLDwDa9wIDA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U8fcnawmerzrMhMo=\n";
...@@ -116,7 +116,7 @@ public class AbcHttpClient { ...@@ -116,7 +116,7 @@ public class AbcHttpClient {
private static String send(String param, String url, String ypdPublicKey, String privateKey) throws Exception { private static String send(String param, String url, String ypdPublicKey, String privateKey) throws Exception {
ZyHttpBaseRquest zyHttpBaseRquest = new ZyHttpBaseRquest(); ZyHttpBaseRquest zyHttpBaseRquest = new ZyHttpBaseRquest();
zyHttpBaseRquest.setClientId("yingyxh_danbao_test"); zyHttpBaseRquest.setClientId("yingyxh_danbao_test");
zyHttpBaseRquest.setServiceId("creditNotify"); zyHttpBaseRquest.setServiceId("externalDataApply");
zyHttpBaseRquest.setSegNo(UUID.fastUUID().toString()); zyHttpBaseRquest.setSegNo(UUID.fastUUID().toString());
zyHttpBaseRquest.setTransDateTime(DateUtil.now()); zyHttpBaseRquest.setTransDateTime(DateUtil.now());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment