{"id":6500,"date":"2024-03-20T18:01:01","date_gmt":"2024-03-20T10:01:01","guid":{"rendered":""},"modified":"2024-03-20T18:01:01","modified_gmt":"2024-03-20T10:01:01","slug":"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1","status":"publish","type":"post","link":"https:\/\/mushiming.com\/6500.html","title":{"rendered":"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1"},"content":{"rendered":"

\u829d\u9ebb\u4fe1\u7528\u5730\u5740\uff1a<\/p>\n

https:\/\/b.zmxy.com.cn\/technology\/openDoc.htm?relInfo=zhima.credit.antifraud.verify@1.0@1.1 <\/p>\n

\u4f18\u70b9\uff1a<\/p>\n

\u4e0d\u9700\u8981\u7528\u6237\u6388\u6743\uff0c\u6709\u59d3\u540d\uff0c\u8eab\u4efd\u8bc1\u53f7\u7801\u5c31\u53ef\u4ee5\u67e5\u8be2\u4e0b\u662f\u5426\u5339\u914d\uff0c<\/p>\n

\"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1 <\/p>\n

\u8fd8\u53ef\u4ee5\u9a8c\u8bc1\u624b\u673a\u53f7\uff0c\u94f6\u884c\u7684\u8981\u7d20\u9a8c\u8bc1\u3002<\/p>\n

\u4e0b\u9762\u6d4b\u8bd5\u7684\u65f6\u5019\uff0c\u53ea\u7528\u6700\u7b80\u5355\u7684\u59d3\u540d\uff0c\u8eab\u4efd\u8bc1\u3002<\/p>\n

\u5b98\u65b9demo:<\/p>\n<\/p>\n

import com.antgroup.zmxy.openplatform.api.DefaultZhimaClient;\nimport com.antgroup.zmxy.openplatform.api.FileItem;\nimport com.antgroup.zmxy.openplatform.api.ZhimaApiException;\nimport com.antgroup.zmxy.openplatform.api.request.ZhimaCreditAntifraudVerifyRequest;\nimport com.antgroup.zmxy.openplatform.api.response.ZhimaCreditAntifraudVerifyResponse;\n\npublic class TestZhimaCreditAntifraudVerify {\n    \/\/\u829d\u9ebb\u5f00\u653e\u5e73\u53f0\u5730\u5740\n    private String gatewayUrl     = \"https:\/\/zmopenapi.zmxy.com.cn\/openapi.do\";\n    \/\/\u5546\u6237\u5e94\u7528 Id\n    private String appId          = \"***\";\n    \/\/\u5546\u6237 RSA \u79c1\u94a5\n    private String privateKey     = \"***\";\n    \/\/\u829d\u9ebb RSA \u516c\u94a5\n    private String zhimaPublicKey = \"***\";\n\n    public void  testZhimaCreditAntifraudVerify() {\n        ZhimaCreditAntifraudVerifyRequest req = new ZhimaCreditAntifraudVerifyRequest();\n        req.setChannel(\"apppc\");\n        req.setPlatform(\"zmop\");\n        req.setProductCode(\"w1010100000000002859\");\/\/ \u5fc5\u8981\u53c2\u6570 \n        req.setTransactionId(\"20151127233347987676212309253\");\/\/ \u5fc5\u8981\u53c2\u6570 \n        req.setCertNo(\"640202199007164686\");\/\/ \u5fc5\u8981\u53c2\u6570 \n        req.setCertType(\"IDENTITY_CARD\");\/\/ \u5fc5\u8981\u53c2\u6570 \n        req.setName(\"\u725b\u5fb7\u534e\");\/\/ \u5fc5\u8981\u53c2\u6570 \n        req.setMobile(\"15843991158\");\/\/ \n        req.setEmail(\"jnlxhy@alitest.com\");\/\/ \n        req.setBankCard(\"20110602436748024138\");\/\/ \n        req.setAddress(\"\u676d\u5dde\u5e02\u897f\u6e56\u533a\u5929\u76ee\u5c71\u8def266\u53f7\");\/\/ \n        req.setIp(\"101.247.161.1\");\/\/ \n        req.setMac(\"44-45-53-54-00-00\");\/\/ \n        req.setWifimac(\"00-00-00-00-00-E0\");\/\/ \n        req.setImei(\"868331011992179\");\/\/ \n        DefaultZhimaClient client = new DefaultZhimaClient(gatewayUrl, appId, privateKey, zhimaPublicKey);\n        try {\n            ZhimaCreditAntifraudVerifyResponse response = client.execute(req);\n            System.out.println(response.isSuccess());\n            System.out.println(response.getErrorCode());\n            System.out.println(response.getErrorMessage());\n        } catch (ZhimaApiException e) {\n            e.printStackTrace();\n        }\n    }\n\n    public static void main(String[] args) {\n        TestZhimaCreditAntifraudVerify result = new  TestZhimaCreditAntifraudVerify();\n        result.testZhimaCreditAntifraudVerify();\n    }\n}<\/code><\/pre>\n

\u5b9e\u9645\u6d4b\u8bd5\u7684\u65f6\u5019\u3002\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u6765\u9009\u62e9\u3002 <\/p>\n

\"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1 <\/p>\n

\u6d4b\u8bd5500\u6761\uff0c\u5927\u6982\u8dd1\u4e863\u5206\u949f\uff0c\u6bcf\u79d2\u4e0d\u52303\u6761\u5427\uff0c\u901f\u5ea6\u8fd8\u884c\u3002\u6570\u636e\u8fd8\u662f\u9700\u8981\u9a8c\u8bc1\u7684 <\/span><\/p>\n

\"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1 <\/p>\n","protected":false},"excerpt":{"rendered":"\u3010\u829d\u9ebb\u4fe1\u7528\u5bf9\u63a5\u3011\u6b3a\u8bc8\u4fe1\u606f\u9a8c\u8bc1\u829d\u9ebb\u4fe1\u7528\u5730\u5740\uff1ahttps:\/\/b.zmxy.com.cn\/technology\/openDoc.htm?relInfo=zhima.credit.antifraud...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6500"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=6500"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6500\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=6500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=6500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=6500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}