huliguo
3 天以前 07fb617c686699435cde29e8147f11a125d7d618
ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/util/HuiFuTianXiaUtil.java
@@ -68,7 +68,7 @@
    //微信小程序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/#/
@@ -1216,6 +1216,7 @@
        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();
@@ -1250,7 +1251,7 @@
    }
    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));
    }
}