| | |
| | | //微信小程序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/#/ |
| | | |
| | | |
| | |
| | | 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)); |
| | | } |
| | | } |