From 05f53069a91f979ec3d18e0a7abc8ce67c2656b2 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 04 九月 2025 14:35:01 +0800
Subject: [PATCH] bug修改

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java
index 07bbc02..73054d3 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java
@@ -204,6 +204,7 @@
         try {
             String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=" + accessToken;
             Map<String, Object> param = new HashMap<>();
+//            param.put("scene", "phone=" + phonenumber);
             param.put("scene", "phone=" + phonenumber+",amount="+amount);
             param.put("page", "chargingPile/payMent/payMent");
             param.put("check_path", false);
@@ -288,7 +289,7 @@
         Map<String, Object> dataMap = new LinkedHashMap<String, Object>(); // 使用LinkedHashMap保持顺序
         dataMap.put("goods_desc", "积分充值");
         dataMap.put("huifu_id", "6666000174575407");
-        dataMap.put("notify_url", "http://221.182.45.100:8084/other/wx/integralCallback");
+        dataMap.put("notify_url", "http://47.120.5.122:8080/other/wx/integralCallback");
         dataMap.put("req_date", date.format(new Date()));
         dataMap.put("req_seq_id", code);
         dataMap.put("trade_type", "T_MINIAPP");
@@ -402,7 +403,7 @@
         Map<String, Object> dataMap = new LinkedHashMap<String, Object>(); // 使用LinkedHashMap保持顺序
         dataMap.put("goods_desc", "积分充值");
         dataMap.put("huifu_id", "6666000174575407");
-        dataMap.put("notify_url", "http://221.182.45.100:8084/other/wx/integralCallback");
+        dataMap.put("notify_url", "http://47.120.5.122:8080/other/wx/integralCallback");
         dataMap.put("req_date", date.format(new Date()));
         dataMap.put("req_seq_id", code);
         dataMap.put("trade_type", "T_MINIAPP");
@@ -489,7 +490,7 @@
         Map<String, Object> dataMap = new LinkedHashMap<String, Object>(); // 使用LinkedHashMap保持顺序
         dataMap.put("goods_desc", "积分充值");
         dataMap.put("huifu_id", "6666000174575407");
-        dataMap.put("notify_url", "http://221.182.45.100:8084/other/wx/integralCallback");
+        dataMap.put("notify_url", "http://47.120.5.122:8080/other/wx/integralCallback");
         dataMap.put("req_date", date.format(new Date()));
         dataMap.put("req_seq_id", code);
         dataMap.put("trade_type", "T_JSAPI");
@@ -616,7 +617,7 @@
         if (data != null ) {
             if (data.getRoleType() == 1) {
                 // 平台
-                SysConfig data1 = sysConfigClient.getInfo(8L).getData();
+                SysConfig data1 = sysConfigClient.getInfo(10L).getData();
                 sysConfigClient.update(data1);
                 TIntegralRule tIntegralRule = new TIntegralRule();
                 tIntegralRule.setChargeCredit("{\"num1\":"+data1.getConfigValue()+"}");
@@ -649,7 +650,7 @@
         SysUser data = sysUserClient.getSysUser(userid).getData();
 
         if (data.getRoleType() == 1) {
-            SysConfig data1 = sysConfigClient.getInfo(8L).getData();
+            SysConfig data1 = sysConfigClient.getInfo(10L).getData();
             JSONObject jsonObject = JSONObject.parseObject(dto.getChargeCredit());
             Integer num1 = jsonObject.getInteger("num1");
             data1.setConfigValue(num1.toString());

--
Gitblit v1.7.1