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 |    5 +++--
 1 files changed, 3 insertions(+), 2 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 eb4cc1b..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);
@@ -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