package com.td.Dawa.common.service;

import com.td.Dawa.common.pojo.ComConfig;
import com.td.Dawa.game.complayersattri.vo.ComPlayersLuckyLandLevelUpVo;

import java.util.List;

public interface ComConfigService {
    String selectByKey(String key);

    List<ComPlayersLuckyLandLevelUpVo> selectLandLevel();

    <T> List<T> selectListByKey(String key, Class<T> clazz);
    <T> T selectByKey(String key, Class<T> clazz);

    List<ComConfig> selectAllComConfig();

    /**
     * 更新一个redis缓存list
     * @return
     */
    List<ComConfig> updateList();
}
