| | |
| | | //微信小程序appid |
| | | private static String sub_appid = "wxb7f0ea286fc4e535"; |
| | | //本地文件存储位置 |
| | | private static String path = "/home/hongruitang/shop/flies"; |
| | | private static String path = "/opt/flies"; |
| | | //接口文档https://paas.huifu.com/partners/api/#/ |
| | | |
| | | |
| | |
| | | // data.put("mer_icp", dto.getMerIcp()); |
| | | data.put("mer_icp", ""); |
| | | data.put("open_licence_no", dto.getOpenLicenceNo()); |
| | | data.put("head_huifu_id", huifu_id); |
| | | // data.put("head_huifu_id", huifu_id); |
| | | R<String> r = supplementaryPicture(dto.getRegAcctPic(), IdUtils.simpleUUID(), "F08"); |
| | | if(r.getCode() == 200){ |
| | | data.put("reg_acct_pic", r.getData()); |
| | |
| | | headers.put("Accept", "application/json"); |
| | | post.addHeaders(headers); |
| | | post.body(body.toJSONString()); |
| | | System.err.println("分账报文:\n" + body.toJSONString()); |
| | | HttpResponse execute = post.execute(); |
| | | String result = execute.body(); |
| | | execute.close(); |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | R<List<MerchantBasicdataSettlementVo>> merchantBasicdataSettlement = HuiFuTianXiaUtil.getMerchantBasicdataSettlement(IdUtils.simpleUUID(), "6666000141606205", "20231110", "20231116", "1", "10"); |
| | | R<List<MerchantBasicdataSettlementVo>> merchantBasicdataSettlement = HuiFuTianXiaUtil.getMerchantBasicdataSettlement(IdUtils.simpleUUID(), "6666000143736815", "20231123", "20231130", "1", "10"); |
| | | System.err.println(JSON.toJSONString(merchantBasicdataSettlement)); |
| | | } |
| | | } |