| | |
| | | throw new RuntimeException(e); |
| | | } |
| | | log.info("银行流水查询 Request:{}", params.toJSONString()); |
| | | String result = HttpUtil.post(url + "/iuap-api-auth/yonbip/ctm/cmp/bankReconciliationQuery?access_token=" + finalAccessToken, params.toJSONString()); |
| | | String result = HttpUtil.post(url + "/yonbip/ctm/cmp/bankReconciliationQuery?access_token=" + finalAccessToken, params.toJSONString()); |
| | | log.info("银行流水查询 Response:{}", result); |
| | | //保存请求记录 |
| | | saveBipRequestRecord(params, "银行流水查询接口", result); |
| | |
| | | } catch (InvalidKeyException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | String getTokenResult = HttpUtil.get(url + "/iuap-api-auth/open-auth/selfAppAuth/getAccessToken?appKey=" + appKey + "×tamp=" + timestamp |
| | | String getTokenResult = HttpUtil.get(url + "/open-auth/selfAppAuth/getAccessToken?appKey=" + appKey + "×tamp=" + timestamp |
| | | + "&signature=" + signature); |
| | | log.info("Get access_token Response:{}", getTokenResult); |
| | | JSONObject tokenJson = JSONObject.parseObject(getTokenResult); |