class ConfigServiceImpl implements ConfigService {

    @Override
    public Response queryAll(HttpHeaders headers) {
        List<Config> configList = repository.findAll();

        if (configList != null && !configList.isEmpty()) {
            return new Response<>(1, "Find all  config success", configList);
        } else {
            return new Response<>(0, "No content", null);
        }
    }

}