package com.jeesharp.business.modules.mall.service;

import com.jeesharp.business.modules.mall.entity.MallSetting;
import com.jeesharp.business.modules.mall.vo.MallSettingQueryVO;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;

import java.util.List;
import java.util.Map;

/**
 * 商城设置 Service 接口
 */
public interface MallSettingService extends BaseInterface<MallSetting, MallSettingQueryVO> {

    void createSetting(MallSetting entity);

    void updateSetting(MallSetting entity);
String getConfigValue(String configKey);

    void setConfigValue(String configKey, String configValue);

    Map<String, String> getConfigValues(List<String> configKeys);

    List<MallSetting> getSettingsByGroup(String configGroup);

    void initSystemSettings();
}
