mitao
2024-06-18 675b45becc2aa467b09921a482a8945d3ba0dd6c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package com.ruoyi.system.service;
 
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>
 * 系统配置 服务类
 * </p>
 *
 * @author mitao
 * @since 2024-05-21
 */
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);
}