From c36b79ea63fe43aa77ab74508505b727e4976a01 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 06 十一月 2023 16:01:04 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/HuiFuTianXiaUtil.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/HuiFuTianXiaUtil.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/HuiFuTianXiaUtil.java
index 1d098b1..0cba250 100644
--- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/HuiFuTianXiaUtil.java
+++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/HuiFuTianXiaUtil.java
@@ -139,6 +139,8 @@
             vo.setPayAmt(resp_data.getString("pay_amt"));
             vo.setEndTime(resp_data.getString("end_time"));
             vo.setTransStat(resp_data.getString("trans_stat"));
+            vo.setFeeFlag(resp_data.getInteger("fee_flag"));
+            vo.setFeeAmount(resp_data.getString("fee_amount"));
             return R.ok(vo);
         }
         return R.fail(resp_desc);
@@ -382,11 +384,6 @@
         jsonObject.put("div_amt", String.format("%.2f", 0.07D));
         jsonObject.put("huifu_id", "6666000141251275");
         acctInfos.add(jsonObject);
-        //平台商户
-        com.alibaba.fastjson2.JSONObject jsonObject1 = new com.alibaba.fastjson2.JSONObject();
-        jsonObject1.put("div_amt", String.format("%.2f", 0.03D));
-        jsonObject1.put("huifu_id", "6666000141216769");
-        acctInfos.add(jsonObject1);
         HuiFuTianXiaUtil.paymentDelaytrans(IdUtils.simpleUUID(), "20231020", "0479854e057547698be8b083f2fa550a", acctInfos);
     }
 }

--
Gitblit v1.7.1