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;
|
import com.ruoyi.system.domain.vo.WishSettingVO;
|
|
/**
|
* <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);
|
|
/**
|
* 获取心愿求购设置
|
*
|
* @return
|
*/
|
WishSettingVO getWishSetting();
|
|
/**
|
* 保存心愿求购设置
|
*
|
* @param vo 保存心愿求购设置
|
*/
|
void saveWishDescription(WishSettingVO vo);
|
|
}
|