Commit b29fa7e1 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.6.7' into MVP1.6.7

parents 9f4fbc5f 5f78b2a0
......@@ -48,19 +48,19 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
String AES_Key = "8jTKCqZ9035g+HRzpZQqZA==";
DefaultIcbcClient client = new DefaultIcbcClient(APP_ID, IcbcConstants.SIGN_TYPE_RSA2,
MY_PRIVATE_KEY, IcbcConstants.CHARSET_UTF8, IcbcConstants.FORMAT_JSON, APIGW_PUBLIC_KEY,
AES_Key, icbcConfigProperties.getAesKey(), "", "");
IcbcConstants.ENCRYPT_TYPE_AES, AES_Key, "", "");
JftApiB2bpayTransqueryRequestV1 request = new JftApiB2bpayTransqueryRequestV1();
request.setServiceUrl("https://gw.open.icbc.com.cn/api/jft/api/b2bpay/transquery/V1");
JftApiB2bpayTransqueryRequestV1.JftApiB2bpayTransqueryRequestV1Biz bizContent = new
JftApiB2bpayTransqueryRequestV1.JftApiB2bpayTransqueryRequestV1Biz();
bizContent.setAppId(APP_ID);
bizContent.setOutVendorId("130290000436004");
// bizContent.setOutVendorId("130290000436004");
// bizContent.setOutUserId("874");
bizContent.setCardNo("1302010109024596014");
// bizContent.setPayAccount("0200000309200211917");
bizContent.setStartTrxDate("20240301");
bizContent.setEndTrxDate("20240730");
// bizContent.setStartTrxDate("20240301");
// bizContent.setEndTrxDate("20240730");
bizContent.setStartId("1");
bizContent.setEndId("50");
request.setBizContent(bizContent);
......@@ -68,10 +68,10 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
try {
//到账通知交易流水查询
response = client.execute(request);
log.error("到账通知交易流水查询" + request.toString());
log.error("到账通知交易流水结果" + response.toString());
log.error("到账通知交易流水状态" + response.getStatus());
log.error("到账通知交易流水结果" + response.getErrordesc());
if ("00".equals(response.getStatus())) {
return R.ok();
return R.ok(response.getDatalist());
} else {
return R.failed();
}
......
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