From 2e6c812f367e1c51ec116a2eb1920872b46bfbea Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期一, 07 四月 2025 11:35:51 +0800
Subject: [PATCH] 修改订单支付金额重复添加问题

---
 ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/PointSettingServiceImpl.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/PointSettingServiceImpl.java b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/PointSettingServiceImpl.java
index 50fdd69..42de2ab 100644
--- a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/PointSettingServiceImpl.java
+++ b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/PointSettingServiceImpl.java
@@ -26,4 +26,13 @@
         }
         return r.getData();
     }
+
+    @Override
+    public PointSetting getPointSettingById(Integer id) {
+        R<PointSetting> r = pointSettingClient.getPointSetting(id);
+        if (!R.isSuccess(r)){
+            throw new RuntimeException("获取积分设置失败");
+        }
+        return r.getData();
+    }
 }

--
Gitblit v1.7.1