| | |
| | | import com.beust.jcommander.ParameterException; |
| | | import com.ks.daylucky.exception.AppConfigException; |
| | | import com.ks.daylucky.pojo.DO.AppConfig; |
| | | import com.ks.daylucky.pojo.DTO.ConfigKeyEnum; |
| | | import com.ks.daylucky.query.AppConfigQuery; |
| | | |
| | | import javax.validation.Valid; |
| | |
| | | * @param version |
| | | * @return |
| | | */ |
| | | public AppConfig getConfig(Long appId, String key, Integer version); |
| | | public AppConfig getConfig(Long appId, ConfigKeyEnum key, Integer version); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param version |
| | | * @return |
| | | */ |
| | | public AppConfig getConfigCache(Long appId, String key, Integer version); |
| | | public AppConfig getConfigCache(Long appId, ConfigKeyEnum key, Integer version); |
| | | |
| | | |
| | | /** |