xuhy
2025-09-04 05f53069a91f979ec3d18e0a7abc8ce67c2656b2
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralController.java
@@ -289,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");
@@ -403,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");
@@ -490,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");
@@ -617,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()+"}");
@@ -650,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());