From c23f48c5ec15476299edadd91fa18f908d710a4f Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期四, 18 七月 2024 08:58:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomConfigService.java |   64 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomConfigService.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomConfigService.java
index c0318fc..edbfbd1 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomConfigService.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomConfigService.java
@@ -2,7 +2,9 @@
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.ruoyi.system.api.domain.CustomConfig;
+import com.ruoyi.system.api.domain.dto.MgtAfterSaleSettingDTO;
 import com.ruoyi.system.domain.dto.PointsConfigDTO;
+import com.ruoyi.system.domain.vo.CustomConfigVO;
 
 /**
  * <p>
@@ -14,5 +16,67 @@
  */
 public interface ICustomConfigService extends IService<CustomConfig> {
 
+    /**
+     * 保存积分设置
+     *
+     * @param dto 积分配置数据传输对象
+     */
     void savePointsSettings(PointsConfigDTO dto);
+
+
+    /**
+     * 获取积分设置
+     *
+     * @return List<CustomConfig>
+     */
+    PointsConfigDTO getPointsConfig();
+
+    /**
+     * 获取订单说明设置
+     *
+     * @return CustomConfigVO
+     */
+    CustomConfigVO getOrderDesc();
+
+    /**
+     * 订单说明设置
+     *
+     * @param description 订单说明
+     */
+    void saveOrderDescription(String description);
+
+    /**
+     * 售后设置
+     *
+     * @param dto 售后设置对象
+     */
+    void saveAfterSaleSetting(MgtAfterSaleSettingDTO dto);
+
+    /**
+     * 获取售后设置
+     *
+     * @return List<CustomConfigVO>
+     */
+    MgtAfterSaleSettingDTO getAfterSaleSetting();
+
+    /**
+     * 保存客服电话
+     *
+     * @param phone 客服电话
+     */
+    void updateServicePhone(String phone);
+
+    /**
+     * 获取客服电话
+     *
+     * @return 客服电话
+     */
+    String getServicePhone();
+
+    /**
+     * 删除客户电话
+     *
+     * @param phone 客服电话
+     */
+    void deleteServicePhone(String phone);
 }

--
Gitblit v1.7.1